Added initial recaptcha + RL support

This commit is contained in:
Wyatt Johnson
2017-03-06 15:26:44 -07:00
parent 77386fb21d
commit d82f3d0f0d
8 changed files with 694 additions and 394 deletions
+7 -1
View File
@@ -148,6 +148,11 @@ const ErrPermissionUpdateUsername = new APIError('You do not have permission to
status: 500
});
const ErrLoginAttemptMaximumExceeded = new APIError('You have made too many incorrect password attempts.', {
translation_key: 'LOGIN_MAXIMUM_EXCEEDED',
status: 429
});
module.exports = {
ExtendableError,
APIError,
@@ -168,5 +173,6 @@ module.exports = {
ErrNotAuthorized,
ErrPermissionUpdateUsername,
ErrSettingsInit,
ErrInstallLock
ErrInstallLock,
ErrLoginAttemptMaximumExceeded
};