changes
This commit is contained in:
@@ -321,7 +321,7 @@ export default {
|
||||
if (this.checkError()) return;
|
||||
let rs = await this.$insertapi("gethash", { text: this.password });
|
||||
this.hash = rs.rows[0];
|
||||
let data = await this.$getdata("user", { username: this.username }, undefined, true);
|
||||
let data = await this.$getdata("user", { first: true, filter: { username: this.username } });
|
||||
if (data) {
|
||||
return this.errors.push({
|
||||
name: "username",
|
||||
|
||||
Reference in New Issue
Block a user