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
No known key found for this signature in database
GPG key ID: 6618763EF09186FE

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",