deux.strings

deux.strings.BOTH_CODES_ERROR = u'Login does not take both a verification and backup code.'

Error if user submits both MFA and backup code for authentication.

deux.strings.DISABLED_ERROR = u'Two factor authentication is not enabled.'

Error if MFA is unexpectedly in a disabled state.

deux.strings.ENABLED_ERROR = u'Two factor authentication is already enabled.'

Error if MFA is unexpectedly in an enabled state.

deux.strings.INVALID_BACKUP_CODE_ERROR = u'Please enter a valid backup code.'

Error if an invalid backup code is entered.

deux.strings.INVALID_CREDENTIALS_ERROR = u'Unable to log in with provided credentials.'

Error if a user provides an invalid username/password combination.

deux.strings.INVALID_MFA_CODE_ERROR = u'Please enter a valid code.'

Error if an invalid MFA code is entered.

deux.strings.INVALID_PHONE_NUMBER_ERROR = u'Please enter a valid phone number.'

Error if an invalid phone number is entered.

deux.strings.MFA_CODE_TEXT_MESSAGE = u'Two Factor Authentication Code: {code}'

Message body for a MFA code.

deux.strings.PHONE_NUMBER_NOT_SET_ERROR = u'MFA phone number must be set for this challenge.'

Error if phone number is not set for a challenge that requires it.

deux.strings.SMS_SEND_ERROR = u'SMS failed to send.'

Error if SMS fails to send.