mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 16:44:26 +00:00
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
Block a user