mirror of
https://github.com/go-admin-team/go-admin.git
synced 2026-09-21 10:13:01 +00:00
fix:Backend verification code is empty Verification error message description is inaccurate(#163)
This commit is contained in:
@@ -152,7 +152,7 @@ var (
|
||||
ErrMissingAuthenticatorFunc = errors.New("ginJWTMiddleware.Authenticator func is undefined")
|
||||
|
||||
// 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 = errors.New("incorrect Username or Password")
|
||||
|
||||
Reference in New Issue
Block a user