From 50a0e9514e1e009209bc0ca923ae203a786e4e37 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sat, 1 Oct 2016 15:40:04 -0700 Subject: [PATCH] Fixed: Default redirect URL for forms auth will use URL Base if configured --- src/NzbDrone.Api/Authentication/AuthenticationModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Api/Authentication/AuthenticationModule.cs b/src/NzbDrone.Api/Authentication/AuthenticationModule.cs index 89467cf48..df940a947 100644 --- a/src/NzbDrone.Api/Authentication/AuthenticationModule.cs +++ b/src/NzbDrone.Api/Authentication/AuthenticationModule.cs @@ -43,7 +43,7 @@ namespace NzbDrone.Api.Authentication expiry = DateTime.UtcNow.AddDays(7); } - return this.LoginAndRedirect(user.Identifier, expiry); + return this.LoginAndRedirect(user.Identifier, expiry, _configFileProvider.UrlBase + "/"); } private Response Logout()