fix: hash-password command import name

This commit is contained in:
2026-07-22 21:17:21 +02:00
parent 51d744e0ea
commit 36855afc70
+2 -2
View File
@@ -31,10 +31,10 @@ def main() -> None:
if args.command == "version": if args.command == "version":
print(VERSION) print(VERSION)
elif args.command == "hash-password": elif args.command == "hash-password":
from .password import hash as hash_pw from .password import hash_password
pw = args.password or input("Password: ") pw = args.password or input("Password: ")
print(hash_pw(pw)) print(hash_password(pw))
elif args.command == "serve": elif args.command == "serve":
_serve(args) _serve(args)
else: else: