Merge pull request #29 from eiblog/fix_init_password

初始化地方参数错了。。。
This commit is contained in:
Deepzz
2021-08-10 16:17:10 +08:00
committed by GitHub

2
pkg/cache/cache.go vendored
View File

@@ -443,7 +443,7 @@ func (c *Cache) loadOrInit() error {
}
}
// account
pwd := tools.EncryptPasswd(blogapp.Account.Password,
pwd := tools.EncryptPasswd(blogapp.Account.Username,
blogapp.Account.Password)
account := &model.Account{