mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Prevent from deleting the last admin user (#7008)
* Prevent from deleting the last admin user Fixes #6990 * Add missing return types
This commit is contained in:
@@ -423,6 +423,7 @@ errors:
|
||||
USER_SUSPENDED: User Suspended
|
||||
CONTAINS_NULL_VALUES: Field contains null values
|
||||
UNKNOWN: Unexpected Error
|
||||
UNPROCESSABLE_ENTITY: Unprocessable entity
|
||||
INTERNAL_SERVER_ERROR: Unexpected Error
|
||||
value_hashed: Value Securely Hashed
|
||||
bookmark_name: Bookmark name...
|
||||
|
||||
Reference in New Issue
Block a user