feat: allow to configure if home directory is automatically created from cli (#2963)

This commit is contained in:
ねらひかだ authored and GitHub committed 2024-01-30 10:14:50 +01:00
1 parent 5c5ab6b875
commit a4b089a6db
3 files changed
+9 -5

No files matched your search

+1
View File
@@ -31,6 +31,7 @@ func addConfigFlags(flags *pflag.FlagSet) {
addServerFlags(flags)
addUserFlags(flags)
flags.BoolP("signup", "s", false, "allow users to signup")
flags.Bool("create-user-dir", false, "generate user's home directory automatically")
flags.String("shell", "", "shell command to which other commands should be appended")
flags.String("auth.method", string(auth.MethodJSONAuth), "authentication type")