mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-26 02:50:54 +00:00
Work on admin
This commit is contained in:
parent
9f9cd6bfc6
commit
4cf6cc63b0
6 changed files with 10 additions and 14 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue