From 06b2d3a36e3897ba646f546a384a7b458b677ca5 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Wed, 4 Dec 2024 15:27:14 -0500 Subject: [PATCH] Ensure nntp-tiny-passwd issues database commit --- bin/nntp-tiny-passwd | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/nntp-tiny-passwd b/bin/nntp-tiny-passwd index 2d04ef3..d73fc2c 100755 --- a/bin/nntp-tiny-passwd +++ b/bin/nntp-tiny-passwd @@ -45,6 +45,7 @@ while attempts_left > 0: try: db.update(user) + db.commit() except Exception as e: print(f"Unable to change password for user '{args.username}': {e}") exit(1)