Skip to content

Commit

Permalink
feat: add username to soft-delete log
Browse files Browse the repository at this point in the history
Co-authored-by: Pauline Ribeyre <[email protected]>
  • Loading branch information
pieterlukasse and paulineribeyre authored Nov 7, 2024
1 parent c54b8e5 commit 95d1544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fence/resources/admin/admin_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ def soft_delete_user(current_session, username):
"""
Soft-remove the user by marking it as active=False.
"""
logger.debug("Soft-delete user.")
logger.debug(f"Soft-delete user '{username}'")
usr = us.get_user(current_session, username)
usr.active = False
current_session.commit()
Expand Down

0 comments on commit 95d1544

Please sign in to comment.