DEVELOPMENT ENVIRONMENT

~liljamo/deck-builder

dc1f6cdd18c5527fb0e598cbeb4d899941a16918 — Jonni Liljamo 1 year, 9 months ago 34c9e35
feat(shared): new error UserPasswordCheckFailed
1 files changed, 5 insertions(+), 1 deletions(-)

M shared/src/error/api.rs
M shared/src/error/api.rs => shared/src/error/api.rs +5 -1
@@ 42,7 42,11 @@ pub enum APIError {
    #[error("password hash failed")]
    UserPasswordHashFailed = 11002,

    // login errors
    #[doc = "Argon2 verify_password failed somehow"]
    #[error("password check failed")]
    UserPasswordCheckFailed = 11003,

    // login/register errors
    #[doc = ""]
    #[error("invalid email")]
    UserEmailInvalid = 11100,