UNPKG

@tanosugi/better-auth-utils

Version:

Better Auth Utils

365 lines (364 loc) 22 kB
{ "ACCOUNT": "Account", "ACCOUNTS": "Accounts", "ACCOUNTS_DESCRIPTION": "Switch between your currently signed in accounts.", "ACCOUNTS_INSTRUCTIONS": "Sign in to an additional account.", "ADD_ACCOUNT": "Add Account", "ADD_PASSKEY": "Add Passkey", "ALREADY_HAVE_AN_ACCOUNT": "Already have an account?", "AVATAR": "Avatar", "AVATAR_DESCRIPTION": "Click on the avatar to upload a custom one from your files.", "AVATAR_INSTRUCTIONS": "An avatar is optional but strongly recommended.", "BACKUP_CODE_REQUIRED": "Backup code is required", "BACKUP_CODES": "Backup Codes", "BACKUP_CODES_DESCRIPTION": "Save these backup codes in a secure place. You can use them to access your account if you lose your two-factor authentication method.", "BACKUP_CODE_PLACEHOLDER": "Backup Code", "BACKUP_CODE": "Backup Code", "CANCEL": "Cancel", "CHANGE_PASSWORD": "Change Password", "CHANGE_PASSWORD_DESCRIPTION": "Enter your current password and a new password.", "CHANGE_PASSWORD_INSTRUCTIONS": "Please use 8 characters at minimum.", "CHANGE_PASSWORD_SUCCESS": "Your password has been changed.", "CONFIRM_PASSWORD": "Confirm Password", "CONFIRM_PASSWORD_PLACEHOLDER": "Confirm Password", "CONFIRM_PASSWORD_REQUIRED": "Confirm password is required", "CONTINUE_WITH_AUTHENTICATOR": "Continue with Authenticator", "COPIED_TO_CLIPBOARD": "Copied to clipboard", "COPY_TO_CLIPBOARD": "Copy to clipboard", "COPY_ALL_CODES": "Copy all codes", "CONTINUE": "Continue", "CURRENT_PASSWORD": "Current Password", "CURRENT_PASSWORD_PLACEHOLDER": "Current Password", "CURRENT_SESSION": "Current Session", "DELETE": "Delete", "DELETE_AVATAR": "Delete Avatar", "DELETE_ACCOUNT": "Delete Account", "DELETE_ACCOUNT_DESCRIPTION": "Permanently remove your account and all of its contents. This action is not reversible, so please continue with caution.", "DELETE_ACCOUNT_INSTRUCTIONS": "Please confirm the deletion of your account. This action is not reversible, so please continue with caution.", "DELETE_ACCOUNT_VERIFY": "Please check your email to verify the deletion of your account.", "DELETE_ACCOUNT_SUCCESS": "Your account has been deleted.", "DISABLE_TWO_FACTOR": "Disable Two-Factor", "DISABLED_CREDENTIALS_DESCRIPTION": "Choose a provider to login to your account", "DONT_HAVE_AN_ACCOUNT": "Don't have an account?", "DONE": "Done", "EMAIL": "Email", "EMAIL_DESCRIPTION": "Enter the email address you want to use to log in.", "EMAIL_INSTRUCTIONS": "Please enter a valid email address.", "EMAIL_IS_THE_SAME": "Email is the same", "EMAIL_PLACEHOLDER": "m@example.com", "EMAIL_REQUIRED": "Email address is required", "EMAIL_VERIFY_CHANGE": "Please check your email to verify the change.", "EMAIL_VERIFICATION": "Please check your email for the verification link.", "ENABLE_TWO_FACTOR": "Enable Two-Factor", "IS_INVALID": "is invalid", "IS_REQUIRED": "is required", "IS_THE_SAME": "is the same", "FORGOT_AUTHENTICATOR": "Forgot authenticator?", "FORGOT_PASSWORD": "Forgot Password", "FORGOT_PASSWORD_ACTION": "Send reset link", "FORGOT_PASSWORD_DESCRIPTION": "Enter your email to reset your password", "FORGOT_PASSWORD_EMAIL": "Check your email for the password reset link.", "FORGOT_PASSWORD_LINK": "Forgot your password?", "LINK": "Link", "MAGIC_LINK": "Magic Link", "MAGIC_LINK_ACTION": "Send magic link", "MAGIC_LINK_DESCRIPTION": "Enter your email to receive a magic link", "MAGIC_LINK_EMAIL": "Check your email for the magic link", "EMAIL_OTP": "Email Code", "EMAIL_OTP_SEND_ACTION": "Send code", "EMAIL_OTP_VERIFY_ACTION": "Verify code", "EMAIL_OTP_DESCRIPTION": "Enter your email to receive a code", "EMAIL_OTP_VERIFICATION_SENT": "Please check your email for the verification code.", "NAME": "Name", "NAME_DESCRIPTION": "Please enter your full name, or a display name.", "NAME_INSTRUCTIONS": "Please use 32 characters at maximum.", "NAME_PLACEHOLDER": "Name", "NEW_PASSWORD": "New Password", "NEW_PASSWORD_PLACEHOLDER": "New Password", "NEW_PASSWORD_REQUIRED": "New password is required", "ONE_TIME_PASSWORD": "One-Time Password", "OR_CONTINUE_WITH": "Or continue with", "PASSKEY": "Passkey", "PASSKEYS": "Passkeys", "PASSKEYS_DESCRIPTION": "Manage your passkeys for secure access.", "PASSKEYS_INSTRUCTIONS": "Securely access your account without a password.", "PERSONAL_ACCOUNT": "Personal Account", "API_KEYS": "API Keys", "API_KEYS_DESCRIPTION": "Manage your API keys for secure access.", "API_KEYS_INSTRUCTIONS": "Generate API keys to access your account programmatically.", "CREATE_API_KEY": "Create API Key", "CREATE_API_KEY_DESCRIPTION": "Enter a unique name for your API key to differentiate it from other keys.", "API_KEY_NAME_PLACEHOLDER": "New API Key", "API_KEY_CREATED": "API Key Created", "CREATE_API_KEY_SUCCESS": "Please copy your API key and store it in a safe place. For security reasons we cannot show it again.", "NEVER_EXPIRES": "Never Expires", "EXPIRES": "Expires", "NO_EXPIRATION": "No Expiration", "CREATE_ORGANIZATION": "Create Organization", "ORGANIZATION": "Organization", "ORGANIZATION_NAME": "Name", "ORGANIZATION_NAME_PLACEHOLDER": "Acme Inc.", "ORGANIZATION_NAME_DESCRIPTION": "This is your organization's visible name.", "ORGANIZATION_NAME_INSTRUCTIONS": "Please use 32 characters at maximum.", "ORGANIZATION_SLUG": "Slug URL", "ORGANIZATION_SLUG_DESCRIPTION": "This is your organization's URL namespace.", "ORGANIZATION_SLUG_INSTRUCTIONS": "Please use 48 characters at maximum.", "ORGANIZATION_SLUG_PLACEHOLDER": "acme-inc", "CREATE_ORGANIZATION_SUCCESS": "Organization created successfully", "PASSWORD": "Password", "PASSWORD_PLACEHOLDER": "Password", "PASSWORD_REQUIRED": "Password is required", "PASSWORDS_DO_NOT_MATCH": "Passwords do not match", "PROVIDERS": "Providers", "PROVIDERS_DESCRIPTION": "Connect your account with a third-party service.", "RECOVER_ACCOUNT": "Recover Account", "RECOVER_ACCOUNT_ACTION": "Recover account", "RECOVER_ACCOUNT_DESCRIPTION": "Please enter a backup code to access your account", "REMEMBER_ME": "Remember me", "RESEND_CODE": "Resend code", "RESEND_VERIFICATION_EMAIL": "Resend Verification Email", "RESET_PASSWORD": "Reset Password", "RESET_PASSWORD_ACTION": "Save new password", "RESET_PASSWORD_DESCRIPTION": "Enter your new password below", "RESET_PASSWORD_SUCCESS": "Password reset successfully", "REQUEST_FAILED": "Request failed", "REVOKE": "Revoke", "DELETE_API_KEY": "Delete API Key", "DELETE_API_KEY_CONFIRM": "Are you sure you want to delete this API key?", "API_KEY": "API Key", "SIGN_IN": "Sign In", "SIGN_IN_ACTION": "Login", "SIGN_IN_DESCRIPTION": "Enter your email below to login to your account", "SIGN_IN_USERNAME_DESCRIPTION": "Enter your username or email to login to your account", "SIGN_IN_WITH": "Sign in with", "SIGN_OUT": "Sign Out", "SIGN_UP": "Sign Up", "SIGN_UP_ACTION": "Create an account", "SIGN_UP_DESCRIPTION": "Enter your information to create an account", "SIGN_UP_EMAIL": "Check your email for the verification link.", "SESSIONS": "Sessions", "SESSIONS_DESCRIPTION": "Manage your active sessions and revoke access.", "SET_PASSWORD": "Set Password", "SET_PASSWORD_DESCRIPTION": "Click the button below to receive an email to set up a password for your account.", "SETTINGS": "Settings", "SAVE": "Save", "SECURITY": "Security", "SWITCH_ACCOUNT": "Switch Account", "TRUST_DEVICE": "Trust this device", "TWO_FACTOR": "Two-Factor", "TWO_FACTOR_ACTION": "Verify code", "TWO_FACTOR_DESCRIPTION": "Please enter your one-time password to continue", "TWO_FACTOR_CARD_DESCRIPTION": "Add an extra layer of security to your account.", "TWO_FACTOR_DISABLE_INSTRUCTIONS": "Please enter your password to disable 2FA.", "TWO_FACTOR_ENABLE_INSTRUCTIONS": "Please enter your password to enable 2FA.", "TWO_FACTOR_ENABLED": "Two-factor authentication has been enabled", "TWO_FACTOR_DISABLED": "Two-Factor Authentication has been disabled", "TWO_FACTOR_PROMPT": "Two-Factor Authentication", "TWO_FACTOR_TOTP_LABEL": "Scan the QR Code with your Authenticator", "SEND_VERIFICATION_CODE": "Send verification code", "UNLINK": "Unlink", "UPDATED_SUCCESSFULLY": "updated successfully", "USERNAME": "Username", "USERNAME_DESCRIPTION": "Enter the username you want to use to log in.", "USERNAME_INSTRUCTIONS": "Please use 32 characters at maximum.", "USERNAME_PLACEHOLDER": "Username", "SIGN_IN_USERNAME_PLACEHOLDER": "Username or email", "VERIFY_YOUR_EMAIL": "Verify Your Email", "VERIFY_YOUR_EMAIL_DESCRIPTION": "Please verify your email address. Check your inbox for the verification email. If you haven't received the email, click the button below to resend.", "GO_BACK": "Go back", "SESSION_NOT_FRESH": "Your session is not fresh. Please sign in again.", "UPLOAD_AVATAR": "Upload Avatar", "LOGO": "Logo", "LOGO_DESCRIPTION": "Click on the logo to upload a custom one from your files.", "LOGO_INSTRUCTIONS": "A logo is optional but strongly recommended.", "UPLOAD": "Upload", "UPLOAD_LOGO": "Upload Logo", "DELETE_LOGO": "Delete Logo", "PRIVACY_POLICY": "Privacy Policy", "TERMS_OF_SERVICE": "Terms of Service", "PROTECTED_BY_RECAPTCHA": "This site is protected by reCAPTCHA.", "BY_CONTINUING_YOU_AGREE": "By continuing, you agree to the", "USER": "User", "ORGANIZATIONS": "Organizations", "ORGANIZATIONS_DESCRIPTION": "Manage your organizations and memberships.", "ORGANIZATIONS_INSTRUCTIONS": "Create an organization to collaborate with other users.", "LEAVE_ORGANIZATION": "Leave Organization", "LEAVE_ORGANIZATION_CONFIRM": "Are you sure you want to leave this organization?", "LEAVE_ORGANIZATION_SUCCESS": "You have successfully left the organization.", "MANAGE_ORGANIZATION": "Manage Organization", "REMOVE_MEMBER": "Remove Member", "REMOVE_MEMBER_CONFIRM": "Are you sure you want to remove this member from the organization?", "REMOVE_MEMBER_SUCCESS": "Member removed successfully", "INVITE_MEMBER": "Invite Member", "MEMBERS": "Members", "MEMBERS_DESCRIPTION": "Add or remove members and manage their roles.", "MEMBERS_INSTRUCTIONS": "Invite new members to your organization.", "INVITE_MEMBER_DESCRIPTION": "Send an invitation to add a new member to your organization.", "ROLE": "Role", "SELECT_ROLE": "Select a role", "ADMIN": "Admin", "MEMBER": "Member", "GUEST": "Guest", "OWNER": "Owner", "UPDATE_ROLE_DESCRIPTION": "Update the role for this member", "UPDATE_ROLE": "Update Role", "MEMBER_ROLE_UPDATED": "Member role updated successfully", "SEND_INVITATION": "Send Invitation", "SEND_INVITATION_SUCCESS": "Invitation sent successfully", "PENDING_INVITATIONS": "Pending Invitations", "PENDING_INVITATIONS_DESCRIPTION": "Manage pending invitations to your organization.", "CANCEL_INVITATION": "Cancel Invitation", "INVITATION_CANCELLED": "Invitation cancelled successfully", "ACCEPT_INVITATION": "Accept Invitation", "ACCEPT_INVITATION_DESCRIPTION": "You have been invited to join an organization.", "INVITATION_ACCEPTED": "Invitation accepted successfully", "INVITATION_REJECTED": "Invitation rejected successfully", "ACCEPT": "Accept", "REJECT": "Reject", "INVITATION_EXPIRED": "This invitation has expired", "DELETE_ORGANIZATION": "Delete Organization", "DELETE_ORGANIZATION_DESCRIPTION": "Permanently remove your organization and all of its contents. This action is not reversible — please continue with caution.", "DELETE_ORGANIZATION_SUCCESS": "Organization deleted successfully", "DELETE_ORGANIZATION_INSTRUCTIONS": "Enter the organization slug to continue:", "SLUG_REQUIRED": "Organization slug is required", "SLUG_DOES_NOT_MATCH": "The slug does not match", "USER_NOT_FOUND": "User not found", "FAILED_TO_CREATE_USER": "Failed to create user", "FAILED_TO_CREATE_SESSION": "Failed to create session", "FAILED_TO_UPDATE_USER": "Failed to update user", "FAILED_TO_GET_SESSION": "Failed to get session", "INVALID_PASSWORD": "Invalid password", "INVALID_EMAIL": "Invalid email", "INVALID_EMAIL_OR_PASSWORD": "Invalid email or password", "SOCIAL_ACCOUNT_ALREADY_LINKED": "Social account already linked", "PROVIDER_NOT_FOUND": "Provider not found", "INVALID_TOKEN": "Invalid token", "ID_TOKEN_NOT_SUPPORTED": "id_token not supported", "FAILED_TO_GET_USER_INFO": "Failed to get user info", "USER_EMAIL_NOT_FOUND": "User email not found", "EMAIL_NOT_VERIFIED": "email not verified", "PASSWORD_TOO_SHORT": "Password too short", "PASSWORD_TOO_LONG": "Password too long", "USER_ALREADY_EXISTS": "User already exists", "EMAIL_CAN_NOT_BE_UPDATED": "Email can not be updated", "CREDENTIAL_ACCOUNT_NOT_FOUND": "Credential account not found", "SESSION_EXPIRED": "Session expired. Re-authenticate to perform this action.", "FAILED_TO_UNLINK_LAST_ACCOUNT": "You can't unlink your last account", "ACCOUNT_NOT_FOUND": "Account not found", "USER_ALREADY_HAS_PASSWORD": "User already has a password. Provide that to delete the account.", "YOU_CANNOT_BAN_YOURSELF": "You cannot ban yourself", "YOU_ARE_NOT_ALLOWED_TO_CHANGE_USERS_ROLE": "You are not allowed to change users role", "YOU_ARE_NOT_ALLOWED_TO_CREATE_USERS": "You are not allowed to create users", "YOU_ARE_NOT_ALLOWED_TO_LIST_USERS": "You are not allowed to list users", "YOU_ARE_NOT_ALLOWED_TO_LIST_USERS_SESSIONS": "You are not allowed to list users sessions", "YOU_ARE_NOT_ALLOWED_TO_BAN_USERS": "You are not allowed to ban users", "YOU_ARE_NOT_ALLOWED_TO_IMPERSONATE_USERS": "You are not allowed to impersonate users", "YOU_ARE_NOT_ALLOWED_TO_REVOKE_USERS_SESSIONS": "You are not allowed to revoke users sessions", "YOU_ARE_NOT_ALLOWED_TO_DELETE_USERS": "You are not allowed to delete users", "YOU_ARE_NOT_ALLOWED_TO_SET_USERS_PASSWORD": "You are not allowed to set users password", "BANNED_USER": "You have been banned from this application", "COULD_NOT_CREATE_SESSION": "Could not create session", "ANONYMOUS_USERS_CANNOT_SIGN_IN_AGAIN_ANONYMOUSLY": "Anonymous users cannot sign in again anonymously", "INVALID_METADATA_TYPE": "metadata must be an object or undefined", "REFILL_AMOUNT_AND_INTERVAL_REQUIRED": "refillAmount is required when refillInterval is provided", "REFILL_INTERVAL_AND_AMOUNT_REQUIRED": "refillInterval is required when refillAmount is provided", "USER_BANNED": "User is banned", "UNAUTHORIZED_SESSION": "Unauthorized or invalid session", "KEY_NOT_FOUND": "API Key not found", "KEY_DISABLED": "API Key is disabled", "KEY_EXPIRED": "API Key has expired", "USAGE_EXCEEDED": "API Key has reached its usage limit", "KEY_NOT_RECOVERABLE": "API Key is not recoverable", "EXPIRES_IN_IS_TOO_SMALL": "The expiresIn is smaller than the predefined minimum value.", "EXPIRES_IN_IS_TOO_LARGE": "The expiresIn is larger than the predefined maximum value.", "INVALID_REMAINING": "The remaining count is either too large or too small.", "INVALID_PREFIX_LENGTH": "The prefix length is either too large or too small.", "INVALID_NAME_LENGTH": "The name length is either too large or too small.", "METADATA_DISABLED": "Metadata is disabled.", "RATE_LIMIT_EXCEEDED": "Rate limit exceeded.", "NO_VALUES_TO_UPDATE": "No values to update.", "KEY_DISABLED_EXPIRATION": "Custom key expiration values are disabled.", "INVALID_API_KEY": "Invalid API key.", "INVALID_USER_ID_FROM_API_KEY": "The user id from the API key is invalid.", "INVALID_API_KEY_GETTER_RETURN_TYPE": "API Key getter returned an invalid key type. Expected string.", "SERVER_ONLY_PROPERTY": "The property you're trying to set can only be set from the server auth instance only.", "VERIFICATION_FAILED": "Captcha verification failed", "MISSING_RESPONSE": "Missing CAPTCHA response", "UNKNOWN_ERROR": "Something went wrong", "MISSING_SECRET_KEY": "Missing secret key", "SERVICE_UNAVAILABLE": "CAPTCHA service unavailable", "OTP_EXPIRED": "OTP expired", "INVALID_OTP": "Invalid OTP", "TOO_MANY_ATTEMPTS": "Too many attempts", "INVALID_OAUTH_CONFIGURATION": "Invalid OAuth configuration", "PASSWORD_COMPROMISED": "The password you entered has been compromised. Please choose a different password.", "INVALID_SESSION_TOKEN": "Invalid session token", "YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_ORGANIZATION": "You are not allowed to create a new organization", "YOU_HAVE_REACHED_THE_MAXIMUM_NUMBER_OF_ORGANIZATIONS": "You have reached the maximum number of organizations", "ORGANIZATION_ALREADY_EXISTS": "Organization already exists", "ORGANIZATION_NOT_FOUND": "Organization not found", "USER_IS_NOT_A_MEMBER_OF_THE_ORGANIZATION": "User is not a member of the organization", "YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_ORGANIZATION": "You are not allowed to update this organization", "YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_ORGANIZATION": "You are not allowed to delete this organization", "NO_ACTIVE_ORGANIZATION": "No active organization", "USER_IS_ALREADY_A_MEMBER_OF_THIS_ORGANIZATION": "User is already a member of this organization", "MEMBER_NOT_FOUND": "Member not found", "ROLE_NOT_FOUND": "Role not found", "YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_TEAM": "You are not allowed to create a new team", "TEAM_ALREADY_EXISTS": "Team already exists", "TEAM_NOT_FOUND": "Team not found", "YOU_CANNOT_LEAVE_THE_ORGANIZATION_AS_THE_ONLY_OWNER": "You cannot leave the organization as the only owner", "YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_MEMBER": "You are not allowed to delete this member", "YOU_ARE_NOT_ALLOWED_TO_INVITE_USERS_TO_THIS_ORGANIZATION": "You are not allowed to invite users to this organization", "USER_IS_ALREADY_INVITED_TO_THIS_ORGANIZATION": "User is already invited to this organization", "INVITATION_NOT_FOUND": "Invitation not found", "YOU_ARE_NOT_THE_RECIPIENT_OF_THE_INVITATION": "You are not the recipient of the invitation", "YOU_ARE_NOT_ALLOWED_TO_CANCEL_THIS_INVITATION": "You are not allowed to cancel this invitation", "INVITER_IS_NO_LONGER_A_MEMBER_OF_THE_ORGANIZATION": "Inviter is no longer a member of the organization", "YOU_ARE_NOT_ALLOWED_TO_INVITE_USER_WITH_THIS_ROLE": "you are not allowed to invite user with this role", "FAILED_TO_RETRIEVE_INVITATION": "Failed to retrieve invitation", "YOU_HAVE_REACHED_THE_MAXIMUM_NUMBER_OF_TEAMS": "You have reached the maximum number of teams", "UNABLE_TO_REMOVE_LAST_TEAM": "Unable to remove last team", "YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_MEMBER": "You are not allowed to update this member", "ORGANIZATION_MEMBERSHIP_LIMIT_REACHED": "Organization membership limit reached", "YOU_ARE_NOT_ALLOWED_TO_CREATE_TEAMS_IN_THIS_ORGANIZATION": "You are not allowed to create teams in this organization", "YOU_ARE_NOT_ALLOWED_TO_DELETE_TEAMS_IN_THIS_ORGANIZATION": "You are not allowed to delete teams in this organization", "YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_TEAM": "You are not allowed to update this team", "YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_TEAM": "You are not allowed to delete this team", "INVITATION_LIMIT_REACHED": "Invitation limit reached", "CHALLENGE_NOT_FOUND": "Challenge not found", "YOU_ARE_NOT_ALLOWED_TO_REGISTER_THIS_PASSKEY": "You are not allowed to register this passkey", "FAILED_TO_VERIFY_REGISTRATION": "Failed to verify registration", "PASSKEY_NOT_FOUND": "Passkey not found", "AUTHENTICATION_FAILED": "Authentication failed", "UNABLE_TO_CREATE_SESSION": "Unable to create session", "FAILED_TO_UPDATE_PASSKEY": "Failed to update passkey", "INVALID_PHONE_NUMBER": "Invalid phone number", "PHONE_NUMBER_EXIST": "Phone number already exists", "INVALID_PHONE_NUMBER_OR_PASSWORD": "Invalid phone number or password", "UNEXPECTED_ERROR": "unexpected error", "OTP_NOT_FOUND": "OTP not found", "PHONE_NUMBER_NOT_VERIFIED": "Phone number not verified", "SUBSCRIPTION_NOT_FOUND": "Subscription not found", "SUBSCRIPTION_PLAN_NOT_FOUND": "Subscription plan not found", "ALREADY_SUBSCRIBED_PLAN": "You're already subscribed to this plan", "UNABLE_TO_CREATE_CUSTOMER": "Unable to create customer", "FAILED_TO_FETCH_PLANS": "Failed to fetch plans", "EMAIL_VERIFICATION_REQUIRED": "Email verification is required before you can subscribe to a plan", "SUBSCRIPTION_NOT_ACTIVE": "Subscription is not active", "SUBSCRIPTION_NOT_SCHEDULED_FOR_CANCELLATION": "Subscription is not scheduled for cancellation", "OTP_NOT_ENABLED": "OTP not enabled", "OTP_HAS_EXPIRED": "OTP has expired", "TOTP_NOT_ENABLED": "TOTP not enabled", "TWO_FACTOR_NOT_ENABLED": "Two factor isn't enabled", "BACKUP_CODES_NOT_ENABLED": "Backup codes aren't enabled", "INVALID_BACKUP_CODE": "Invalid backup code", "INVALID_CODE": "Invalid code", "TOO_MANY_ATTEMPTS_REQUEST_NEW_CODE": "Too many attempts. Please request a new code.", "INVALID_TWO_FACTOR_COOKIE": "Invalid two factor cookie", "INVALID_USERNAME_OR_PASSWORD": "invalid username or password", "USERNAME_IS_ALREADY_TAKEN": "username is already taken. please try another.", "USERNAME_TOO_SHORT": "username is too short", "USERNAME_TOO_LONG": "username is too long", "INVALID_USERNAME": "username is invalid" }