groundwork for other account routes

This commit is contained in:
tsmethurst
2021-03-24 17:34:41 +01:00
parent 0ea69345b9
commit 26c482cd86
9 changed files with 186 additions and 65 deletions

View File

@ -111,10 +111,18 @@ func main() {
// TEMPLATE FLAGS
&cli.StringFlag{
Name: flagNames.TemplateBaseDir,
Usage: "Basedir for html templating files for rendering pages and composing emails",
Usage: "Basedir for html templating files for rendering pages and composing emails.",
Value: "./web/template/",
EnvVars: []string{envNames.TemplateBaseDir},
},
// ACCOUNTS FLAGS
&cli.BoolFlag{
Name: flagNames.AccountsOpenRegistration,
Usage: "Allow anyone to submit an account signup request. If false, server will be invite-only.",
Value: false,
EnvVars: []string{envNames.AccountsOpenRegistration},
},
},
Commands: []*cli.Command{
{