2023-10-31 16:14:24 -04:00
|
|
|
USERNAME_TOO_LONG: str = "error: username too long"
|
|
|
|
USERNAME_TOO_SHORT: str = "error: username too short"
|
|
|
|
USERNAME_MISSING: str = "error: username is missing"
|
|
|
|
PASSWORD_TOO_LONG: str = "error: password too long"
|
|
|
|
PASSWORD_TOO_SHORT: str = "error: password too short"
|
|
|
|
PASSWORD_MISSING: str = "error: password is missing"
|
2023-10-24 16:33:13 -04:00
|
|
|
USERNAME_ALREADY_USED: str = "error: username already used"
|
|
|
|
|
2023-10-31 16:14:24 -04:00
|
|
|
USER_ALREADY_LOGGED: str = "error: user already logged"
|
|
|
|
USER_INVALID: str = "error: username or password invalid"
|
|
|
|
|
2023-10-24 16:33:13 -04:00
|
|
|
USER_ADDED: str = "ok: user added"
|
|
|
|
USER_DELETED: str = "ok: account has been deleted"
|
2023-10-31 16:14:24 -04:00
|
|
|
USER_LOGGED: str = "ok: account valid"
|
|
|
|
USER_PASSWORD_UPDATED: str = "ok: password has been updated"
|
|
|
|
USER_LOGOUT: str = "ok: user logout"
|
|
|
|
|
|
|
|
METHOD_INVALID: str = "error: method invalid"
|