fix: stupid forgetting sha256
This commit is contained in:
@@ -215,7 +215,7 @@ export default class LingChairClient {
|
|||||||
const re = await this.invoke('User.register', {
|
const re = await this.invoke('User.register', {
|
||||||
nickname,
|
nickname,
|
||||||
username,
|
username,
|
||||||
password,
|
password: crypto.createHash('sha256').update(password).digest('hex'),
|
||||||
})
|
})
|
||||||
if (re.code != 200)
|
if (re.code != 200)
|
||||||
throw new CallbackError(re)
|
throw new CallbackError(re)
|
||||||
|
|||||||
Reference in New Issue
Block a user