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
+9 -1
View File
@@ -2,7 +2,8 @@ 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";
export function sendRegisterRequest(postBody) {
@@ -31,3 +32,10 @@ export function sendLogoutRequest() {
type: SEND_LOGOUT_REQUEST
}
}
export function sendChangePasswordRequest(postBody) {
return {
type: SEND_CHANGE_PASSWORD_REQUEST,
data: postBody
}
}