mirror of
https://github.com/ehang-io/nps.git
synced 2025-09-19 18:45:34 +00:00
Db file change
This commit is contained in:
@@ -24,7 +24,7 @@ func (self *LoginController) Verify() {
|
||||
}
|
||||
b, err := beego.AppConfig.Bool("allow_user_login")
|
||||
if err == nil && b && !auth {
|
||||
file.GetCsvDb().Clients.Range(func(key, value interface{}) bool {
|
||||
file.GetDb().JsonDb.Clients.Range(func(key, value interface{}) bool {
|
||||
v := value.(*file.Client)
|
||||
if !v.Status || v.NoDisplay {
|
||||
return true
|
||||
|
Reference in New Issue
Block a user