Skip to content

Commit

Permalink
refactor(user): uncomment super admin check for inactive user deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuj-Gupta4 committed Jan 27, 2025
1 parent 3bdcc1e commit 3d8f673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/app/users/user_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ async def delete_user_by_identifier(
async def delete_inactive_users(
request: Request,
db: Annotated[Connection, Depends(db_conn)],
# current_user: Annotated[DbUser, Depends(super_admin)],
current_user: Annotated[DbUser, Depends(super_admin)],
osm_auth=Depends(init_osm_auth),
):
"""Identify inactive users, send warnings, and delete accounts."""
Expand Down

0 comments on commit 3d8f673

Please sign in to comment.