After login, redirect user to the main page even if root app configured (#3429)

This commit is contained in:
Nicolas Dorier
2022-02-07 21:18:22 +09:00
committed by GitHub
parent cd94a9fac1
commit c8b9906ef3
7 changed files with 79 additions and 26 deletions

View File

@@ -63,6 +63,12 @@ namespace BTCPayServer.Controllers
SignInManager = signInManager;
}
[HttpGet("home")]
public Task<IActionResult> Home()
{
return Index();
}
[Route("")]
[DomainMappingConstraint]
public async Task<IActionResult> Index()