Add client-side validation for taken username in sign-up form (#24546)

This commit is contained in:
Eugen Rochko
2023-04-16 02:10:48 +02:00
committed by GitHub
parent f05fb51ecb
commit 955ec252a4
3 changed files with 53 additions and 17 deletions

View File

@@ -4358,5 +4358,22 @@
}
],
"path": "app/javascript/mastodon/features/video/index.json"
},
{
"descriptors": [
{
"defaultMessage": "That username is taken. Try another",
"id": "username.taken"
},
{
"defaultMessage": "Password confirmation exceeds the maximum password length",
"id": "password_confirmation.exceeds_maxlength"
},
{
"defaultMessage": "Password confirmation does not match",
"id": "password_confirmation.mismatching"
}
],
"path": "app/javascript/packs/public.json"
}
]