Finished Forgot Password request, Reset Password request
This commit is contained in:
+8
-2
@@ -4,14 +4,18 @@ import {
|
||||
SEND_EMAIL_VERIFICATION_REQUEST,
|
||||
SEND_LOGIN_REQUEST,
|
||||
SEND_LOGOUT_REQUEST,
|
||||
SEND_CHANGE_PASSWORD_REQUEST
|
||||
SEND_CHANGE_PASSWORD_REQUEST,
|
||||
SEND_FORGOT_PASSWORD_REQUEST,
|
||||
SEND_RESET_PASSWORD_REQUEST
|
||||
} from "../constants/auth.constants";
|
||||
import {
|
||||
registerUserFlow,
|
||||
verifyEmailFlow,
|
||||
loginUserFlow,
|
||||
logoutUserFlow,
|
||||
changePasswordFlow
|
||||
changePasswordFlow,
|
||||
forgotPasswordFlow,
|
||||
resetPasswordFlow,
|
||||
} from "./auth.sagas";
|
||||
|
||||
export default function* rootSaga() {
|
||||
@@ -20,4 +24,6 @@ export default function* rootSaga() {
|
||||
yield takeLatest(SEND_LOGIN_REQUEST, loginUserFlow);
|
||||
yield takeLatest(SEND_LOGOUT_REQUEST, logoutUserFlow);
|
||||
yield takeLatest(SEND_CHANGE_PASSWORD_REQUEST, changePasswordFlow);
|
||||
yield takeLatest(SEND_FORGOT_PASSWORD_REQUEST, forgotPasswordFlow);
|
||||
yield takeLatest(SEND_RESET_PASSWORD_REQUEST, resetPasswordFlow);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user