Add logic to prevent the current user from removing himself from the administrator list, and a flash error notice for that scenario
This commit is contained in:
@@ -233,6 +233,7 @@ en:
|
||||
administrator:
|
||||
add: Add
|
||||
delete: Delete
|
||||
restricted_removal: "Sorry, you can't remove yourself from the administrators"
|
||||
search:
|
||||
email_placeholder: Search user by email
|
||||
search: Search
|
||||
|
||||
Reference in New Issue
Block a user