Merge pull request #29 from eiblog/fix_init_password

初始化地方参数错了。。。
This commit is contained in:
Deepzz authored and GitHub committed 2021-08-10 16:17:10 +08:00
commit 4b9eb1ff4d
1 file changed
+1 -1
+1 -1
View File
@@ -443,7 +443,7 @@ func (c *Cache) loadOrInit() error {
} }
} }
// account // account
pwd := tools.EncryptPasswd(blogapp.Account.Password, pwd := tools.EncryptPasswd(blogapp.Account.Username,
blogapp.Account.Password) blogapp.Account.Password)
account := &model.Account{ account := &model.Account{