提交 b43eebd9 编写于 作者: 雪洛's avatar 雪洛

fix: missing default config

上级 e513946d
...@@ -37,7 +37,10 @@ class ConfigUtils { ...@@ -37,7 +37,10 @@ class ConfigUtils {
} }
const defaultConfig = { const defaultConfig = {
tokenExpiresIn: 7200 tokenExpiresIn: 7200,
tokenExpiresThreshold: 1200,
passwordErrorLimit: 6,
passwordErrorRetryTime: 3600
} }
return Object.assign(defaultConfig, appConfig, appConfig[platform]) return Object.assign(defaultConfig, appConfig, appConfig[platform])
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册