fix:Backend verification code is empty Verification error message description is inaccurate(#163)

This commit is contained in:
zhangwenjian
2020-07-15 22:10:11 +08:00
parent 22dc5f3407
commit f045515fc2
+1 -1
View File
@@ -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")