mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-02-11 18:33:11 -05:00
fix: error on duplicate username/email registration (#1168)
* fix: error on duplicate username/email registration * Raise 409 http error on duplicate user registration * Add translation to conflict error messages * Update lang files * Remove key in translator parameter
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
"exceptions": {
|
||||
"permission_denied": "You do not have permission to perform this action",
|
||||
"no-entry-found": "The requested resource was not found",
|
||||
"integrity-error": "Database integrity error"
|
||||
"integrity-error": "Database integrity error",
|
||||
"username-conflict-error": "This username is already taken",
|
||||
"email-conflict-error": "This email is already in use"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user