mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
feat(auth): add username sign-in mode and recovery kits (#3215)
This commit is contained in:
1 parent
bf3d73a5f7
commit
e1eecc3b6c
355 files changed
+52138
-24097
No files matched your search
@@ -132,9 +132,16 @@ export const ERROR_I18N_MESSAGES = {
|
||||
'auth_and_oauth.unknown_origin_handoff': 'This sign-in transfer has expired or was already used.',
|
||||
'auth_and_oauth.unknown_passkey_bridge': 'This passkey request has expired. Try again.',
|
||||
'auth_and_oauth.unknown_passkey_migration': 'There is no passkey to update right now.',
|
||||
'auth_and_registration.account_identity_locked': "The sign-in method is already set and can't be changed.",
|
||||
'auth_and_registration.instance_address_required':
|
||||
'This instance uses usernames. Enter the username you want followed by @{host}.',
|
||||
'auth_and_registration.invalid_login_or_password': 'Invalid username or password.',
|
||||
'auth_and_registration.invalid_recovery_key': 'Invalid username or recovery key.',
|
||||
'auth_and_registration.password_is_too_common':
|
||||
'Your password is too common. Please choose a less predictable password.',
|
||||
'auth_and_registration.password_not_set': "Password isn't set.",
|
||||
'auth_and_registration.username_sign_in_only':
|
||||
'This is only available on instances where people sign in with a username.',
|
||||
'bots.bot_discriminator_cannot_be_changed': "Bot discriminator can't be changed.",
|
||||
'bots.bot_is_private': 'This bot is private.',
|
||||
'bots.bot_user_generation_failed': 'Bot user generation failed.',
|
||||
@@ -290,6 +297,7 @@ export const ERROR_I18N_MESSAGES = {
|
||||
'email.original_email_must_be_verified_first': 'Original email must be verified first.',
|
||||
'email.original_verification_not_required': "Original verification isn't required for this flow.",
|
||||
'email.token_expired': 'Email token expired.',
|
||||
'email.unavailable_on_instance': "This instance doesn't use email.",
|
||||
'email.user_has_no_email_address': "This user doesn't have an email address.",
|
||||
'email.user_is_not_pending_verification': "This user isn't pending verification.",
|
||||
'email.verification_code_expired': 'Verification code has expired.',
|
||||
@@ -542,6 +550,9 @@ export const ERROR_I18N_MESSAGES = {
|
||||
'urls.url_length_invalid': 'URL must be between {min} and {max} characters.',
|
||||
'urls.url_not_publicly_routable': 'URL must resolve to a publicly routable address.',
|
||||
'usernames_and_tags.discriminator_invalid_format': 'Discriminator must be {min}–{max} digits.',
|
||||
'usernames_and_tags.tag_style_requires_email_sign_in': 'Tags are only available when people sign in with email.',
|
||||
'usernames_and_tags.discriminator_not_supported_on_instance':
|
||||
"This instance doesn't use tags. Your username is unique on its own.",
|
||||
'usernames_and_tags.discriminator_out_of_range': 'Discriminator must be between {min} and {max}.',
|
||||
'usernames_and_tags.discriminator_required': 'Discriminator is required.',
|
||||
'usernames_and_tags.display_name_length_invalid': 'Display name must be between {min} and {max} characters.',
|
||||
@@ -555,6 +566,7 @@ export const ERROR_I18N_MESSAGES = {
|
||||
'There are too many users with this username. Try a different username.',
|
||||
'usernames_and_tags.unclaimed_accounts_can_only_set_email_via_token':
|
||||
'Unclaimed accounts can only set an email address using a token.',
|
||||
'usernames_and_tags.username_already_taken': 'This username is already taken.',
|
||||
'usernames_and_tags.username_invalid_characters':
|
||||
'Username can only contain Latin letters (a-z, A-Z), numbers (0-9), and underscores (_).',
|
||||
'usernames_and_tags.username_length_invalid': 'Username must be between {min} and {max} characters.',
|
||||
|
||||
Reference in new issue
Block a user