Fixed: Changed Authentication cookie to prevent conflicts with other apps. (invalidates existing logins)

Closes #1962
This commit is contained in:
Taloth Saldono 2017-06-18 00:18:23 +02:00
parent 6a6d415625
commit 62bc63312d
1 changed files with 2 additions and 0 deletions

View File

@ -64,6 +64,8 @@ namespace NzbDrone.Api.Authentication
new DefaultHmacProvider(new PassphraseKeyGenerator(_configService.HmacPassphrase, Encoding.ASCII.GetBytes(_configService.HmacSalt)))
);
FormsAuthentication.FormsAuthenticationCookieName = "_ncfa_sonarr";
FormsAuthentication.Enable(pipelines, new FormsAuthenticationConfiguration
{
RedirectUrl = _configFileProvider.UrlBase + "/login",