summaryrefslogtreecommitdiff
path: root/src/server/api/bot/core.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/api/bot/core.ts')
-rw-r--r--src/server/api/bot/core.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/api/bot/core.ts b/src/server/api/bot/core.ts
index 1cf0522349..d41af48057 100644
--- a/src/server/api/bot/core.ts
+++ b/src/server/api/bot/core.ts
@@ -226,7 +226,7 @@ class SigninContext extends Context {
}
} else {
// Compare password
- const same = await bcrypt.compare(query, this.temporaryUser.account.password);
+ const same = await bcrypt.compare(query, this.temporaryUser.password);
if (same) {
this.bot.signin(this.temporaryUser);