Improve password invalid error message
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
2f88ab2ebc
commit
b01faead9c
1 changed files with 1 additions and 1 deletions
|
@ -26,5 +26,5 @@ var (
|
|||
ErrFormInvalid = gin.H{"code": http.StatusBadRequest, "error": "Changes could not be saved"}
|
||||
ErrFeatureDisabled = gin.H{"code": http.StatusForbidden, "error": "Feature disabled"}
|
||||
ErrNotFound = gin.H{"code": http.StatusNotFound, "error": "Not found"}
|
||||
ErrInvalidPassword = gin.H{"code": http.StatusBadRequest, "error": "Invalid password"}
|
||||
ErrInvalidPassword = gin.H{"code": http.StatusBadRequest, "error": "Invalid password, please try again"}
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue