Fix settings not being loaded at CLI

Signed-off-by: cassiozareck <cassiomilczareck@gmail.com>
This commit is contained in:
cassiozareck 2023-08-08 16:16:50 -03:00
parent ad69f7175a
commit 60967453fa
1 changed files with 2 additions and 0 deletions

View File

@ -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
}