mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -17,8 +17,11 @@ var UsersModCommand = cli.Command{
|
||||
Name: "mod",
|
||||
Usage: "Changes user account settings",
|
||||
ArgsUsage: "[username]",
|
||||
Flags: UserFlags,
|
||||
Action: usersModAction,
|
||||
Flags: append(UserFlags, cli.BoolFlag{
|
||||
Name: "disable-2fa",
|
||||
Usage: UserDisable2FA,
|
||||
}),
|
||||
Action: usersModAction,
|
||||
}
|
||||
|
||||
// usersModAction modifies an existing user account.
|
||||
|
||||
Reference in New Issue
Block a user