mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
fix typo
This commit is contained in:
parent
fd4a27c1a3
commit
d176a16caa
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ namespace BTCPayServer.Controllers
|
|||
public async Task<IActionResult> Login(string returnUrl = null)
|
||||
{
|
||||
if (User.Identity.IsAuthenticated)
|
||||
RedirectToLocal(returnUrl);
|
||||
return RedirectToLocal(returnUrl);
|
||||
// Clear the existing external cookie to ensure a clean login process
|
||||
await HttpContext.SignOutAsync(IdentityConstants.ExternalScheme);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue