chore: migrate authifier into codebase (#658)
Co-authored-by: izzy <me@insrt.uk> Signed-off-by: Zomatree <me@zomatree.live> Signed-off-by: izzy <me@insrt.uk>
This commit is contained in:
@@ -164,6 +164,10 @@ pub enum ErrorType {
|
||||
FailedValidation {
|
||||
error: String,
|
||||
},
|
||||
OperationFailed,
|
||||
IncorrectData {
|
||||
with: String,
|
||||
},
|
||||
|
||||
// ? Voice errors
|
||||
LiveKitUnavailable,
|
||||
@@ -188,6 +192,25 @@ pub enum ErrorType {
|
||||
FeatureDisabled {
|
||||
feature: String,
|
||||
},
|
||||
|
||||
// ? Authentication
|
||||
RenderFail,
|
||||
MissingHeaders,
|
||||
CaptchaFailed,
|
||||
BlockedByShield,
|
||||
UnverifiedAccount,
|
||||
EmailFailed,
|
||||
InvalidToken,
|
||||
MissingInvite,
|
||||
InvalidInvite,
|
||||
|
||||
CompromisedPassword,
|
||||
ShortPassword,
|
||||
Blacklisted,
|
||||
LockedOut,
|
||||
|
||||
TotpAlreadyEnabled,
|
||||
DisallowedMFAMethod,
|
||||
}
|
||||
|
||||
#[macro_export]
|
||||
|
||||
Reference in New Issue
Block a user