mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
fix typo
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user