Update error codes (#2131)

This commit is contained in:
Leendert de Borst
2026-06-04 20:45:46 +02:00
committed by Leendert de Borst
parent 7979f9ebf5
commit db0efdbe52
2 changed files with 8 additions and 0 deletions

View File

@@ -128,6 +128,9 @@
<data name="PUBLIC_REGISTRATION_DISABLED" xml:space="preserve">
<value>New account registration is currently disabled on this server. Please contact the administrator.</value>
</data>
<data name="REGISTRATION_FAILED" xml:space="preserve">
<value>Could not create the account. Please try again in a few minutes. If this problem persists, please contact support.</value>
</data>
<data name="USER_NOT_FOUND" xml:space="preserve">
<value>Invalid username or password. Please try again.</value>
</data>

View File

@@ -148,4 +148,9 @@ public enum ApiErrorCode
/// Registration rate limit exceeded for this IP address.
/// </summary>
REGISTRATION_RATE_LIMIT_EXCEEDED,
/// <summary>
/// Generic user account registration failure.
/// </summary>
REGISTRATION_FAILED,
}