superuserAccessErrors.tsx 572 B

12345678910
  1. // TODO(epurkhiser): These can't be translated with `t()` because they're an
  2. // Enum. We should probably just use a regular map
  3. export enum ErrorCodes {
  4. INVALID_PASSWORD = 'Incorrect password',
  5. INVALID_SSO_SESSION = 'Your SSO Session has expired, please reauthenticate',
  6. INVALID_ACCESS_CATEGORY = 'Please fill out the access category and reason correctly',
  7. MISSING_PASSWORD_OR_U2F = 'Password or U2F challenge/response was not sent',
  8. NO_AUTHENTICATOR = 'Please add a U2F authenticator to your account',
  9. UNKNOWN_ERROR = 'An error occurred, please try again',
  10. }