Ensure nntp-tiny-passwd issues database commit

This commit is contained in:
XANTRONIX Development 2024-12-04 15:27:14 -05:00
parent ffca139659
commit 06b2d3a36e

View file

@ -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)