feat: allow to configure if home directory is automatically created from cli (#2963)
This commit is contained in:
1 parent
5c5ab6b875
commit
a4b089a6db
3 files changed
+9
-5
No files matched your search
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user