Remove bugs reported by Rider

This commit is contained in:
nicolas.dorier
2020-04-05 12:30:23 +09:00
parent 963c69a0e0
commit 98e2baae19
5 changed files with 7 additions and 22 deletions

View File

@@ -149,7 +149,7 @@ namespace BTCPayServer.Controllers
{
if (!ModelState.IsValid)
{
return View(model);
return View(nameof(Index), model);
}
var user = await _userManager.GetUserAsync(User);