fix:Backend verification code is empty Verification error message description is inaccurate(#163)
This commit is contained in:
1 parent
22dc5f3407
commit
f045515fc2
1 file changed
+1
-1
@@ -152,7 +152,7 @@ var (
|
|||||||
ErrMissingAuthenticatorFunc = errors.New("ginJWTMiddleware.Authenticator func is undefined")
|
ErrMissingAuthenticatorFunc = errors.New("ginJWTMiddleware.Authenticator func is undefined")
|
||||||
|
|
||||||
// ErrMissingLoginValues indicates a user tried to authenticate without username or password
|
// ErrMissingLoginValues indicates a user tried to authenticate without username or password
|
||||||
ErrMissingLoginValues = errors.New("missing Username or Password")
|
ErrMissingLoginValues = errors.New("missing Username or Password or Code")
|
||||||
|
|
||||||
// ErrFailedAuthentication indicates authentication failed, could be faulty username or password
|
// ErrFailedAuthentication indicates authentication failed, could be faulty username or password
|
||||||
ErrFailedAuthentication = errors.New("incorrect Username or Password")
|
ErrFailedAuthentication = errors.New("incorrect Username or Password")
|
||||||
|
|||||||
Reference in new issue
Block a user