diff options
Diffstat (limited to 'shared/models/server/server-error-code.enum.ts')
-rw-r--r-- | shared/models/server/server-error-code.enum.ts | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/shared/models/server/server-error-code.enum.ts b/shared/models/server/server-error-code.enum.ts index 0e70ea0a7..a39cde1b3 100644 --- a/shared/models/server/server-error-code.enum.ts +++ b/shared/models/server/server-error-code.enum.ts | |||
@@ -39,7 +39,13 @@ export const enum ServerErrorCode { | |||
39 | */ | 39 | */ |
40 | INCORRECT_FILES_IN_TORRENT = 'incorrect_files_in_torrent', | 40 | INCORRECT_FILES_IN_TORRENT = 'incorrect_files_in_torrent', |
41 | 41 | ||
42 | COMMENT_NOT_ASSOCIATED_TO_VIDEO = 'comment_not_associated_to_video' | 42 | COMMENT_NOT_ASSOCIATED_TO_VIDEO = 'comment_not_associated_to_video', |
43 | |||
44 | MISSING_TWO_FACTOR = 'missing_two_factor', | ||
45 | INVALID_TWO_FACTOR = 'invalid_two_factor', | ||
46 | |||
47 | ACCOUNT_WAITING_FOR_APPROVAL = 'account_waiting_for_approval', | ||
48 | ACCOUNT_APPROVAL_REJECTED = 'account_approval_rejected' | ||
43 | } | 49 | } |
44 | 50 | ||
45 | /** | 51 | /** |
@@ -70,5 +76,5 @@ export const enum OAuth2ErrorCode { | |||
70 | * | 76 | * |
71 | * @see https://github.com/oauthjs/node-oauth2-server/blob/master/lib/errors/invalid-token-error.js | 77 | * @see https://github.com/oauthjs/node-oauth2-server/blob/master/lib/errors/invalid-token-error.js |
72 | */ | 78 | */ |
73 | INVALID_TOKEN = 'invalid_token', | 79 | INVALID_TOKEN = 'invalid_token' |
74 | } | 80 | } |