mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-18 22:36:43 +09:00
Work on admin
This commit is contained in:
1 parent
9f9cd6bfc6
commit
4cf6cc63b0
6 files changed
+10
-14
No files matched your search
@@ -32,7 +32,6 @@ var (
|
||||
AppUrl string
|
||||
Domain string
|
||||
SecretKey string
|
||||
AdminName string
|
||||
Cfg *goconfig.ConfigFile
|
||||
MailService *Mailer
|
||||
)
|
||||
@@ -174,7 +173,6 @@ func init() {
|
||||
AppUrl = Cfg.MustValue("server", "ROOT_URL")
|
||||
Domain = Cfg.MustValue("server", "DOMAIN")
|
||||
SecretKey = Cfg.MustValue("security", "SECRET_KEY")
|
||||
AdminName = strings.ToLower(Cfg.MustValue("admin", "NAME"))
|
||||
}
|
||||
|
||||
func NewServices() {
|
||||
|
||||
Reference in new issue
Block a user