mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
Fix error message when trying to remove last admin
This commit is contained in:
parent
4221554dc8
commit
6e864c2631
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue