From a2dd08fc9878ce03c45d16a59cf581b51c788d5f Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Thu, 17 Nov 2016 11:43:10 -0300 Subject: [PATCH] Forgot Password endpoint --- client/coral-framework/actions/auth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/coral-framework/actions/auth.js b/client/coral-framework/actions/auth.js index fd749cd50..e3bf0babd 100644 --- a/client/coral-framework/actions/auth.js +++ b/client/coral-framework/actions/auth.js @@ -86,7 +86,7 @@ const forgotPassowordFailure = () => ({type: actions.FETCH_FORGOT_PASSWORD_FAILU export const fetchForgotPassword = () => dispatch => { dispatch(forgotPassowordRequest()); - fetch(`${base}/forgot`, getInit('POST')) + fetch(`${base}/user/request-password-reset`, getInit('POST')) .then(handleResp) .then(() => dispatch(forgotPassowordSuccess())) .catch(error => dispatch(forgotPassowordFailure(error)));