mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-01-30 20:56:39 +00:00
fix: imports
This commit is contained in:
parent
7a5e33c1e6
commit
90948b727b
|
@ -27,7 +27,6 @@ from selfprivacy_api.actions.users import (
|
||||||
generate_password_reset_link as generate_password_reset_link_action,
|
generate_password_reset_link as generate_password_reset_link_action,
|
||||||
)
|
)
|
||||||
from selfprivacy_api.repositories.users.exceptions import (
|
from selfprivacy_api.repositories.users.exceptions import (
|
||||||
DisplaynameNotAlphanumeric,
|
|
||||||
DisplaynameTooLong,
|
DisplaynameTooLong,
|
||||||
NoPasswordResetLinkFoundInResponse,
|
NoPasswordResetLinkFoundInResponse,
|
||||||
PasswordIsEmpty,
|
PasswordIsEmpty,
|
||||||
|
@ -48,7 +47,7 @@ from selfprivacy_api.repositories.users.exceptions_kanidm import (
|
||||||
KanidmReturnUnknownResponseType,
|
KanidmReturnUnknownResponseType,
|
||||||
KanidmCliSubprocessError,
|
KanidmCliSubprocessError,
|
||||||
)
|
)
|
||||||
from selfprivacy_api import PLEASE_UPDATE_APP_TEXT
|
from selfprivacy_api.utils.strings import PLEASE_UPDATE_APP_TEXT
|
||||||
|
|
||||||
|
|
||||||
FAILED_TO_SETUP_PASSWORD_TEXT = "Failed to set a password for a user. The problem occurred due to an old version of the SelfPrivacy app."
|
FAILED_TO_SETUP_PASSWORD_TEXT = "Failed to set a password for a user. The problem occurred due to an old version of the SelfPrivacy app."
|
||||||
|
@ -105,7 +104,6 @@ class UsersMutations:
|
||||||
InvalidConfiguration,
|
InvalidConfiguration,
|
||||||
KanidmDidNotReturnAdminPassword,
|
KanidmDidNotReturnAdminPassword,
|
||||||
KanidmQueryError,
|
KanidmQueryError,
|
||||||
DisplaynameNotAlphanumeric,
|
|
||||||
DisplaynameTooLong,
|
DisplaynameTooLong,
|
||||||
KanidmCliSubprocessError,
|
KanidmCliSubprocessError,
|
||||||
FailedToGetValidKanidmToken,
|
FailedToGetValidKanidmToken,
|
||||||
|
@ -188,7 +186,6 @@ class UsersMutations:
|
||||||
SelfPrivacyAppIsOutdate,
|
SelfPrivacyAppIsOutdate,
|
||||||
KanidmDidNotReturnAdminPassword,
|
KanidmDidNotReturnAdminPassword,
|
||||||
KanidmQueryError,
|
KanidmQueryError,
|
||||||
DisplaynameNotAlphanumeric,
|
|
||||||
DisplaynameTooLong,
|
DisplaynameTooLong,
|
||||||
KanidmCliSubprocessError,
|
KanidmCliSubprocessError,
|
||||||
FailedToGetValidKanidmToken,
|
FailedToGetValidKanidmToken,
|
||||||
|
|
Loading…
Reference in a new issue