mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-07-31 17:27:11 -04:00
Update error codes (#2131)
This commit is contained in:
committed by
Leendert de Borst
parent
7979f9ebf5
commit
db0efdbe52
@@ -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>
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user