Skip to content

Commit c940118

Browse files
committed
fix: add 'too_many_attempts' to error codes in logInError function
1 parent 359a04b commit c940118

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/core/actions.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,8 @@ function logInError(id, fields, error, localHandler = (_id, _error, _fields, nex
242242
'rule_error',
243243
'lock.unauthorized',
244244
'invalid_user_password',
245-
'login_required'
245+
'login_required',
246+
'too_many_attempts'
246247
];
247248

248249
if (errorCodesThatEmitAuthorizationErrorEvent.indexOf(errorCode) > -1) {

0 commit comments

Comments
 (0)