changes
This commit is contained in:
@@ -63,7 +63,7 @@ export default {
|
||||
async changePassword() {
|
||||
if(!this.checkPassword()) return
|
||||
let user = await this.$getdata('user', undefined, {filter: {id: this.row.id}}, true)
|
||||
const response = await fetch(`https://api.y99.vn/password/${this.password}/`)
|
||||
const response = await fetch(`${this.$getpath()}password/${this.password}/`)
|
||||
let hash = await response.json();
|
||||
user.password = hash
|
||||
let rs1 = await this.$updateapi('user', user)
|
||||
|
||||
Reference in New Issue
Block a user