Fix error message when trying to remove last admin

This commit is contained in:
nicolas.dorier
2022-01-28 17:09:41 +09:00
parent 4221554dc8
commit 6e864c2631

View File

@@ -221,7 +221,7 @@ namespace BTCPayServer.Controllers
{
// return
return View("Confirm", new ConfirmModel("Delete admin",
"Unable to proceed: As the user <strong>{user.Email}</strong> is the last admin, it cannot be removed."));
$"Unable to proceed: As the user <strong>{user.Email}</strong> is the last admin, it cannot be removed."));
}
return View("Confirm", new ConfirmModel("Delete admin",