From c7740fc4aacc81e53f4fa285ecd4544bde88b3f2 Mon Sep 17 00:00:00 2001 From: kolaente Date: Mon, 23 Mar 2026 12:56:26 +0100 Subject: [PATCH] fix(user): use unique error code for ErrCodeAccountLocked Was 1025 which collides with ErrorCodeInvalidTimezone. Changed to 1026. --- pkg/user/error.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/user/error.go b/pkg/user/error.go index 4d140ef26..88df428d6 100644 --- a/pkg/user/error.go +++ b/pkg/user/error.go @@ -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 {