fix(user): use unique error code for ErrCodeAccountLocked
Was 1025 which collides with ErrorCodeInvalidTimezone. Changed to 1026.
This commit is contained in:
parent
37394fb336
commit
c7740fc4aa
|
|
@ -521,7 +521,7 @@ func (err *ErrAccountLocked) Error() string {
|
|||
}
|
||||
|
||||
// ErrCodeAccountLocked holds the unique world-error code of this error
|
||||
const ErrCodeAccountLocked = 1025
|
||||
const ErrCodeAccountLocked = 1026
|
||||
|
||||
// HTTPError holds the http error description
|
||||
func (err *ErrAccountLocked) HTTPError() web.HTTPError {
|
||||
|
|
|
|||
Loading…
Reference in New Issue