[forgot, reset pwd] + male doladovacky

This commit is contained in:
romankko2 committed 2023-03-28 23:07:22 +02:00
1 parent 92a5716ab9
commit ff2bd3979a
7 files changed
+46 -22

No files matched your search

+2 -2
View File
@@ -86,7 +86,7 @@ export default {
// eslint-disable-next-line
forgotPassword({commit}: {commit: any}, credentials: any) {
return new Promise((resolve, reject) => {
axios.post_auth_data('v1/auth/forgot', credentials)
axios.post_auth_data('v1/users/forgot', credentials)
.then(response => resolve(response))
.catch(error => reject(error))
})
@@ -94,7 +94,7 @@ export default {
// eslint-disable-next-line
resetPassword({commit}: {commit: any}, credentials: any) {
return new Promise((resolve, reject) => {
axios.post_auth_data('v1/auth/reset', credentials)
axios.post_auth_data('v1/users/reset', credentials)
.then(response => resolve(response))
.catch(error => reject(error))
})