mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
New: Forms authentication
This commit is contained in:
parent
7c38fcb9f3
commit
3c756348eb
35 changed files with 707 additions and 81 deletions
|
@ -289,6 +289,26 @@ namespace NzbDrone.Core.Configuration
|
|||
set { SetValue("CleanupMetadataImages", value); }
|
||||
}
|
||||
|
||||
public String RijndaelPassphrase
|
||||
{
|
||||
get { return GetValue("RijndaelPassphrase", Guid.NewGuid().ToString(), true); }
|
||||
}
|
||||
|
||||
public String HmacPassphrase
|
||||
{
|
||||
get { return GetValue("HmacPassphrase", Guid.NewGuid().ToString(), true); }
|
||||
}
|
||||
|
||||
public String RijndaelSalt
|
||||
{
|
||||
get { return GetValue("RijndaelSalt", Guid.NewGuid().ToString(), true); }
|
||||
}
|
||||
|
||||
public String HmacSalt
|
||||
{
|
||||
get { return GetValue("HmacSalt", Guid.NewGuid().ToString(), true); }
|
||||
}
|
||||
|
||||
private string GetValue(string key)
|
||||
{
|
||||
return GetValue(key, String.Empty);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue