1
1
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:
cassiozareck 2023-08-08 16:16:50 -03:00
parent ad69f7175a
commit 60967453fa

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
}