fix: user with state initial can only be deleted not deactivated (#3110)

This commit is contained in:
Fabi
2022-01-25 11:54:36 +01:00
committed by GitHub
parent 159d82ad8e
commit ce53fe7814
5 changed files with 10 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ Errors:
DomainNotAllowedAsUsername: Domain is already reserved and cannot be used
AlreadyInactive: User already inactive
NotInactive: User is not inactive
CantDeactivateInitial: User with state initial can only be deleted not deactivated
ShouldBeActiveOrInitial: User is not active or inital
AlreadyInitialised: User is already initialised
NotInitialised: User is not yet initialised