From eff04d73d93da3bf1c752fe606ace9a19137a20b Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Thu, 16 Nov 2023 16:35:12 -0800 Subject: [PATCH] Rename 'ReturnUrl' to 'returnUrl' for forms auth redirection (cherry picked from commit 812712e2843a738054c065a6d5c1b7c81c5f8e7b) --- .../Authentication/AuthenticationBuilderExtensions.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Lidarr.Http/Authentication/AuthenticationBuilderExtensions.cs b/src/Lidarr.Http/Authentication/AuthenticationBuilderExtensions.cs index d336a38c3..ce8a2b652 100644 --- a/src/Lidarr.Http/Authentication/AuthenticationBuilderExtensions.cs +++ b/src/Lidarr.Http/Authentication/AuthenticationBuilderExtensions.cs @@ -40,6 +40,7 @@ namespace Lidarr.Http.Authentication options.LoginPath = "/login"; options.ExpireTimeSpan = TimeSpan.FromDays(7); options.SlidingExpiration = true; + options.ReturnUrlParameter = "returnUrl"; }) .AddApiKey("API", options => {