1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

Change Forms Auth Cookie. Fixes #285

This commit is contained in:
Leonardo Galli 2017-01-22 18:18:15 +01:00
parent eb299ce847
commit 12e74aa38b
2 changed files with 1055 additions and 1053 deletions

View File

@ -64,6 +64,8 @@ private void RegisterFormsAuth(IPipelines pipelines)
new DefaultHmacProvider(new PassphraseKeyGenerator(_configService.HmacPassphrase, Encoding.ASCII.GetBytes(_configService.HmacSalt)))
);
FormsAuthentication.FormsAuthenticationCookieName = "_ncfaradarr"; //For those people that both have sonarr and radarr.
FormsAuthentication.Enable(pipelines, new FormsAuthenticationConfiguration
{
RedirectUrl = _configFileProvider.UrlBase + "/login",

File diff suppressed because it is too large Load Diff