IO-762 Validate pw reset OOB code.
This commit is contained in:
@@ -195,6 +195,7 @@ export function* onValidatePasswordResetStart() {
|
||||
}
|
||||
export function* validatePasswordResetStart({ payload: { password, code } }) {
|
||||
try {
|
||||
auth.checkActionCode(code);
|
||||
yield auth.confirmPasswordReset(code, password);
|
||||
yield put(validatePasswordResetSuccess());
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user