Skip to content

Commit 5a3f676

Browse files
Merge pull request #1464 from solaris-games/dev
Fix password reset
2 parents 0d845cd + 94634cb commit 5a3f676

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

client/src/views/account/ForgotPassword.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import ViewTitle from '../components/ViewTitle.vue'
3131
import FormErrorList from '../components/FormErrorList.vue'
3232
import { inject } from 'vue'
3333
import { extractErrors, formatError, httpInjectionKey, isOk } from '@/services/typedapi'
34+
import {requestPasswordReset} from "@/services/typedapi/user";
3435
3536
export default {
3637
components: {
@@ -67,7 +68,7 @@ export default {
6768
6869
this.isLoading = true
6970
70-
const response = await requestResetPassword(this.httpClient)(this.email);
71+
const response = await requestPasswordReset(this.httpClient)(this.email);
7172
7273
if (isOk(response)) {
7374
this.$toast.success(`A password reset email has been sent to the email address, please check your email inbox.`)

0 commit comments

Comments
 (0)