mirror of
https://git.teknik.io/Teknikode/Teknik.git
synced 2023-08-02 14:16:22 +02:00
efc7f7dae6
Added preventing viewing of Paste if it was password protected. Added download increments for each item. Added checking for paste expiration. Added not showing upload if it was encrypted client side.
20 lines
355 B
C#
20 lines
355 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
|
|
namespace Teknik.Configuration
|
|
{
|
|
public class VaultConfig
|
|
{
|
|
public bool Enabled { get; set; }
|
|
|
|
public int UrlLength { get; set; }
|
|
|
|
public VaultConfig()
|
|
{
|
|
Enabled = true;
|
|
UrlLength = 5;
|
|
}
|
|
}
|
|
} |