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

Fixed: Default redirect URL for forms auth will use URL Base if configured

This commit is contained in:
Mark McDowall 2016-10-01 15:40:04 -07:00
parent 7ef1ca8a00
commit 50a0e9514e

View File

@ -43,7 +43,7 @@ private Response Login(LoginResource resource)
expiry = DateTime.UtcNow.AddDays(7);
}
return this.LoginAndRedirect(user.Identifier, expiry);
return this.LoginAndRedirect(user.Identifier, expiry, _configFileProvider.UrlBase + "/");
}
private Response Logout()