mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
11 lines
572 B
TypeScript
11 lines
572 B
TypeScript
// TODO(epurkhiser): These can't be translated with `t()` because they're an
|
|
// Enum. We should probably just use a regular map
|
|
export enum ErrorCodes {
|
|
INVALID_PASSWORD = 'Incorrect password',
|
|
INVALID_SSO_SESSION = 'Your SSO Session has expired, please reauthenticate',
|
|
INVALID_ACCESS_CATEGORY = 'Please fill out the access category and reason correctly',
|
|
MISSING_PASSWORD_OR_U2F = 'Password or U2F challenge/response was not sent',
|
|
NO_AUTHENTICATOR = 'Please add a U2F authenticator to your account',
|
|
UNKNOWN_ERROR = 'An error occurred, please try again',
|
|
}
|