File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -224,6 +224,7 @@ fireauth.RpcHandler.ServerError = {
224
224
OPERATION_NOT_ALLOWED : 'OPERATION_NOT_ALLOWED' ,
225
225
PASSWORD_LOGIN_DISABLED : 'PASSWORD_LOGIN_DISABLED' ,
226
226
QUOTA_EXCEEDED : 'QUOTA_EXCEEDED' ,
227
+ RESET_PASSWORD_EXCEED_LIMIT : 'RESET_PASSWORD_EXCEED_LIMIT' ,
227
228
SESSION_EXPIRED : 'SESSION_EXPIRED' ,
228
229
TOKEN_EXPIRED : 'TOKEN_EXPIRED' ,
229
230
TOO_MANY_ATTEMPTS_TRY_LATER : 'TOO_MANY_ATTEMPTS_TRY_LATER' ,
@@ -2231,6 +2232,8 @@ fireauth.RpcHandler.getDeveloperError_ =
2231
2232
// Send Password reset email errors:
2232
2233
errorMap [ fireauth . RpcHandler . ServerError . EMAIL_NOT_FOUND ] =
2233
2234
fireauth . authenum . Error . USER_DELETED ;
2235
+ errorMap [ fireauth . RpcHandler . ServerError . RESET_PASSWORD_EXCEED_LIMIT ] =
2236
+ fireauth . authenum . Error . TOO_MANY_ATTEMPTS_TRY_LATER ;
2234
2237
2235
2238
// Reset password errors:
2236
2239
errorMap [ fireauth . RpcHandler . ServerError . EXPIRED_OOB_CODE ] =
Original file line number Diff line number Diff line change @@ -3994,6 +3994,8 @@ function testSendPasswordResetEmail_caughtServerError() {
3994
3994
var errorMap = { } ;
3995
3995
errorMap [ fireauth . RpcHandler . ServerError . EMAIL_NOT_FOUND ] =
3996
3996
fireauth . authenum . Error . USER_DELETED ;
3997
+ errorMap [ fireauth . RpcHandler . ServerError . RESET_PASSWORD_EXCEED_LIMIT ] =
3998
+ fireauth . authenum . Error . TOO_MANY_ATTEMPTS_TRY_LATER ;
3997
3999
errorMap [ fireauth . RpcHandler . ServerError . INVALID_RECIPIENT_EMAIL ] =
3998
4000
fireauth . authenum . Error . INVALID_RECIPIENT_EMAIL ;
3999
4001
errorMap [ fireauth . RpcHandler . ServerError . INVALID_SENDER ] =
You can’t perform that action at this time.
0 commit comments