mirror of
https://github.com/ehang-io/nps.git
synced 2025-09-02 03:16:53 +00:00
Web interface
This commit is contained in:
@@ -44,6 +44,7 @@ func (s *BaseController) Prepare() {
|
||||
s.Data["isAdmin"] = true
|
||||
}
|
||||
s.Data["https_just_proxy"], _ = beego.AppConfig.Bool("https_just_proxy")
|
||||
s.Data["allow_user_login"], _ = beego.AppConfig.Bool("allow_user_login")
|
||||
}
|
||||
|
||||
//加载模板
|
||||
|
Reference in New Issue
Block a user