1
0
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:
Adolfo Gómez García 2025-01-08 16:43:17 +01:00
parent 99305c17e7
commit 4d2ddd3909
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23

View File

@ -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'),
]