mirror of https://github.com/go-gitea/gitea.git
Fix settings not being loaded at CLI
Signed-off-by: cassiozareck <cassiomilczareck@gmail.com>
This commit is contained in:
parent
ad69f7175a
commit
60967453fa
|
@ -67,6 +67,8 @@ var microcmdUserCreate = &cli.Command{
|
|||
}
|
||||
|
||||
func runCreateUser(c *cli.Context) error {
|
||||
setting.LoadSettings()
|
||||
|
||||
if err := argsSet(c, "email"); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue