Skip to content

Commit

Permalink
rename redirect to param
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkoSekulic committed Nov 19, 2024
1 parent ce5f840 commit 383c4b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/Designer/Controllers/AnsattPortenController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class AnsattPortenController(IAuthenticationService authService) : Contro
{
[Authorize(AnsattPortenConstants.AnsattportenAuthorizationPolicy)]
[HttpGet("login")]
public async Task<IActionResult> Login([FromQuery] string redirectTo)
public async Task<IActionResult> Login([FromQuery(Name = "redirect_to")] string redirectTo)
{
await Task.CompletedTask;
if (!Url.IsLocalUrl(redirectTo))
Expand Down

0 comments on commit 383c4b2

Please sign in to comment.