From a3d1f4ae04ade62814643a3138b44335e8e3670e Mon Sep 17 00:00:00 2001 From: konrad Date: Thu, 20 Dec 2018 12:13:55 +0000 Subject: [PATCH] Use email instead of username when resetting a user password (#10) --- src/components/user/RequestPasswordReset.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/user/RequestPasswordReset.vue b/src/components/user/RequestPasswordReset.vue index 82442f4b..5506e632 100644 --- a/src/components/user/RequestPasswordReset.vue +++ b/src/components/user/RequestPasswordReset.vue @@ -5,7 +5,7 @@
- +
@@ -36,7 +36,7 @@ export default { data() { return { - username: '', + email: '', error: '', isSuccess: false, loading: false @@ -47,7 +47,7 @@ const cancel = message.setLoading(this) this.error = '' let credentials = { - user_name: this.username, + email: this.email, } HTTP.post(`user/password/token`, credentials)