1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

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

View File

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