From 28e90acd0d814d7941a4a83e1b47b979788bf400 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/Prowlarr.Http/Authentication/AuthenticationBuilderExtensions.cs b/src/Prowlarr.Http/Authentication/AuthenticationBuilderExtensions.cs index cdc024e05..9a9c54627 100644 --- a/src/Prowlarr.Http/Authentication/AuthenticationBuilderExtensions.cs +++ b/src/Prowlarr.Http/Authentication/AuthenticationBuilderExtensions.cs @@ -40,6 +40,7 @@ namespace Prowlarr.Http.Authentication options.LoginPath = "/login"; options.ExpireTimeSpan = TimeSpan.FromDays(7); options.SlidingExpiration = true; + options.ReturnUrlParameter = "returnUrl"; }) .AddApiKey("API", options => {