Finished Forgot Password request, Reset Password request

This commit is contained in:
Alexander Wong
2017-09-03 13:22:27 -06:00
parent ffe3cba510
commit a5df76d7e9
13 changed files with 364 additions and 16 deletions
+8 -2
View File
@@ -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);
}