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

Closes #1962
Taloth Saldono 7 years ago
parent 6a6d415625
commit 62bc63312d

@ -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",

Loading…
Cancel
Save