added account status enum
This commit is contained in:
@ -0,0 +1,15 @@
|
|||||||
|
package de.muehlencord.shared.account.business.account;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author joern.muehlencord
|
||||||
|
*/
|
||||||
|
public enum AccountStatus {
|
||||||
|
|
||||||
|
NEW, // account is created but never used
|
||||||
|
NORMAL, // normal account, at least on login, neither blocked or disabled
|
||||||
|
BLOCKED, // account is blocked after too many login failures or other security related events
|
||||||
|
DISABLED; // account is disabled and cannot be used anymore
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user