Shaun
2 年前
committed by
Big Bad Waffle
共有
1 个文件被更改,包括
4 次插入 和
2 次删除
-
src/server/components/auth.js
|
@@ -303,7 +303,8 @@ module.exports = { |
|
|
table: 'accountInfo', |
|
|
table: 'accountInfo', |
|
|
noDefault: true |
|
|
noDefault: true |
|
|
}) || { |
|
|
}) || { |
|
|
loginStreak: 0 |
|
|
|
|
|
|
|
|
loginStreak: 0, |
|
|
|
|
|
level: 0 |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
const msgAccountInfo = { |
|
|
const msgAccountInfo = { |
|
@@ -392,7 +393,8 @@ module.exports = { |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
this.accountInfo = { |
|
|
this.accountInfo = { |
|
|
loginStreak: 0 |
|
|
|
|
|
|
|
|
loginStreak: 0, |
|
|
|
|
|
level: 0 |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
await io.setAsync({ |
|
|
await io.setAsync({ |
|
|