Add admin add user

This commit is contained in:
Unknown 2014-03-21 03:27:59 -04:00
parent 5373a3093e
commit c1576b4c40
9 changed files with 204 additions and 15 deletions

View file

@ -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")