better error-message when registration_shared_secret is set wrong

This commit is contained in:
2018-05-26 20:58:33 +02:00
parent dda0e83abe
commit 083c848347
3 changed files with 14 additions and 2 deletions

View File

@@ -31,6 +31,8 @@ $language = array(
"UNKNOWN_SESSION" => "Session token not found of invalid.",
"UNKNOWN_USERNAME" => "username unknown",
"UNKNOWN_TOKEN" => "Token is unknown",
"AUTHENTICATION_FAILED" => "Authentication failed",
"WRONG_REGISTRATION_SHARED_SECRET" => "wrong registration_shared_secret",
"USERNAME_INVALID" => "Username has to consist of 3 to 20 small letters",
"USERNAME_NOT_ALNUM" => "Username is not alphanumeric",
"USERNAME_PENDING_REGISTRATION" => "This username is locked for registration. Try again later or try again with a different username",