fix(user): use unique error code for ErrCodeAccountLocked

Was 1025 which collides with ErrorCodeInvalidTimezone. Changed to 1026.
This commit is contained in:
kolaente 2026-03-23 12:56:26 +01:00 committed by kolaente
parent 37394fb336
commit c7740fc4aa
1 changed files with 1 additions and 1 deletions

View File

@ -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 {