mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-19 10:03:49 +03:00
Added "Password expired" message error
This commit is contained in:
parent
99305c17e7
commit
4d2ddd3909
@ -61,6 +61,7 @@ class Error(enum.IntEnum):
|
||||
INTERNAL_SERVER_ERROR = 17
|
||||
RELOAD_NOT_SUPPORTED = 18
|
||||
INVALID_MFA_CODE = 19
|
||||
PASSWORD_EXPIRED = 20
|
||||
|
||||
@property
|
||||
def message(self) -> str:
|
||||
@ -131,4 +132,5 @@ ERROR_STRINGS: typing.Final[list[str]] = [
|
||||
_('Unexpected error'),
|
||||
_('Reloading this page is not supported. Please, reopen service from origin.'),
|
||||
_('Invalid Multi-Factor Authentication code'),
|
||||
_('Password expired'),
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user