Add PasswordRequiredError

This commit is contained in:
bitfl0wer 2023-05-16 15:58:51 +02:00
parent 44f27f7a0e
commit d17c046480
No known key found for this signature in database
GPG Key ID: 84BBB60DF895ABF2
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ custom_error! {
TokenExpired = "Token expired, invalid or not found.",
NoPermission = "You do not have the permissions needed to perform this action.",
NotFound{error: String} = "The provided resource hasn't been found: {}",
PasswordRequiredError = "You need to provide your current password to authenticate for this action.",
}
custom_error! {