修改初始化逻辑

This commit is contained in:
whyour
2023-06-16 02:12:25 +08:00
parent e5bc4b3b04
commit 9f4435b237
5 changed files with 65 additions and 56 deletions
+1 -2
View File
@@ -109,8 +109,7 @@ export default ({ app }: { app: Application }) => {
if (
Object.keys(authInfo).length === 2 &&
authInfo.username === 'admin' &&
authInfo.password === 'admin' &&
envCount === 0
authInfo.password === 'admin'
) {
isInitialized = false;
}