Skip to content

Commit

Permalink
add reset owner password cli
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddify-com committed Nov 3, 2024
1 parent cc3eee1 commit 0fdaeec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hiddifypanel/panel/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,9 @@ def set_setting(key, val):
hiddify.add_or_update_config(key=key, value=val)

return "success"

@app.cli.command()
def reset_owner_password():
AdminUser.get_super_admin().update_password("")
@ app.cli.command()
@ click.option("--config", "-c")
def import_config(config):
Expand Down

0 comments on commit 0fdaeec

Please sign in to comment.