Complete change password functionality

This commit is contained in:
Alexander Wong
2017-09-03 12:01:16 -06:00
parent 1bf1dad0b9
commit 44c6117ce1
9 changed files with 219 additions and 14 deletions
+5 -2
View File
@@ -3,13 +3,15 @@ import {
SEND_REGISTER_REQUEST,
SEND_EMAIL_VERIFICATION_REQUEST,
SEND_LOGIN_REQUEST,
SEND_LOGOUT_REQUEST
SEND_LOGOUT_REQUEST,
SEND_CHANGE_PASSWORD_REQUEST
} from "../constants/auth.constants";
import {
registerUserFlow,
verifyEmailFlow,
loginUserFlow,
logoutUserFlow
logoutUserFlow,
changePasswordFlow
} from "./auth.sagas";
export default function* rootSaga() {
@@ -17,4 +19,5 @@ export default function* rootSaga() {
yield takeLatest(SEND_EMAIL_VERIFICATION_REQUEST, verifyEmailFlow);
yield takeLatest(SEND_LOGIN_REQUEST, loginUserFlow);
yield takeLatest(SEND_LOGOUT_REQUEST, logoutUserFlow);
yield takeLatest(SEND_CHANGE_PASSWORD_REQUEST, changePasswordFlow);
}