changes
This commit is contained in:
@@ -158,7 +158,7 @@ export default {
|
||||
name: "currpass",
|
||||
text: "Incorrect password.",
|
||||
});
|
||||
let rs0 = await this.$insertapi("gethash", { text: this.password }, undefined, false);
|
||||
let rs0 = await this.$insertapi("gethash", { data: { text: this.password }, notify: false });
|
||||
user.password = rs0.rows[0];
|
||||
let rs = await this.$updateapi("user", user, undefined, false);
|
||||
if (rs !== "error") {
|
||||
|
||||
Reference in New Issue
Block a user