From 942ecab8900c5a01df1e9038a571c0cd878aa9ad Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Tue, 23 Jun 2020 21:01:21 +0000 Subject: [PATCH] Use new password reset URLs in client --- webclient/src/App.js | 4 ++-- webclient/src/LoginSignup.js | 2 +- webclient/src/PasswordReset.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/webclient/src/App.js b/webclient/src/App.js index e05976d..1c1b65f 100644 --- a/webclient/src/App.js +++ b/webclient/src/App.js @@ -194,10 +194,10 @@ function App() {
- + - + diff --git a/webclient/src/LoginSignup.js b/webclient/src/LoginSignup.js index eb4c8ae..3bba089 100644 --- a/webclient/src/LoginSignup.js +++ b/webclient/src/LoginSignup.js @@ -65,7 +65,7 @@ export function LoginForm(props) { Forgot your password? -

Click here to reset it.

+

Click here to reset it.

); diff --git a/webclient/src/PasswordReset.js b/webclient/src/PasswordReset.js index 7ca2e66..e338a95 100644 --- a/webclient/src/PasswordReset.js +++ b/webclient/src/PasswordReset.js @@ -67,7 +67,7 @@ function ConfirmForm() { const handleSubmit = (e) => { if (loading) return; setLoading(true); - requester('/rest-auth/password/reset/confirm/', 'POST', '', input) + requester('/password/reset/confirm/', 'POST', '', input) .then(res => { setLoading(false); setSuccess(true);