Add admin add user
This commit is contained in:
parent
5373a3093e
commit
c1576b4c40
9 changed files with 204 additions and 15 deletions
|
@ -32,6 +32,7 @@ var (
|
|||
AppUrl string
|
||||
Domain string
|
||||
SecretKey string
|
||||
RunUser string
|
||||
RepoRootPath string
|
||||
|
||||
Cfg *goconfig.ConfigFile
|
||||
|
@ -179,6 +180,7 @@ func NewConfigContext() {
|
|||
AppUrl = Cfg.MustValue("server", "ROOT_URL")
|
||||
Domain = Cfg.MustValue("server", "DOMAIN")
|
||||
SecretKey = Cfg.MustValue("security", "SECRET_KEY")
|
||||
RunUser = Cfg.MustValue("", "RUN_USER")
|
||||
|
||||
// Determine and create root git reposiroty path.
|
||||
RepoRootPath = Cfg.MustValue("repository", "ROOT")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue