Update Vue front-end according to the new API definition and paths

This commit is contained in:
Bubka
2021-10-09 19:23:24 +02:00
parent 83f7370b57
commit 184237697b
51 changed files with 472 additions and 358 deletions

View File

@ -23,10 +23,10 @@
handleSubmit(e) {
e.preventDefault()
this.form.post('/api/password/email', {returnError: true})
this.form.post('/api/user/password/lost', {returnError: true})
.then(response => {
this.$notify({ type: 'is-success', text: response.data.status, duration:-1 })
this.$notify({ type: 'is-success', text: response.data.message, duration:-1 })
})
.catch(error => {
if( error.response.data.requestFailed ) {