mirror of
https://github.com/photoprism/photoprism.git
synced 2025-10-15 13:20:58 +08:00
CLI: Add cluster operations and management commands #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -35,7 +35,7 @@ var AuthResetCommand = &cli.Command{
|
||||
// authResetAction removes all sessions and resets the related database table to a clean state.
|
||||
func authResetAction(ctx *cli.Context) error {
|
||||
return CallWithDependencies(ctx, func(conf *config.Config) error {
|
||||
confirmed := ctx.Bool("yes")
|
||||
confirmed := RunNonInteractively(ctx.Bool("yes"))
|
||||
|
||||
// Show prompt?
|
||||
if !confirmed {
|
||||
|
Reference in New Issue
Block a user