Skip to content

Commit

Permalink
pov: sus code.
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLovesDoggo committed Dec 19, 2023
1 parent 18eb249 commit ebc0af3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ class UserAdmin(UserAdmin_):
admin_field[0][1]["fields"] = (
"username",
) # passwords are not controlled by scavenger. So we don't need this field.
admin_field[2][1]["fields"] = tuple(
["send_to_admin"] + list(admin_field[2][1]["fields"])
)

fieldsets = tuple(
admin_field
+ [
Expand Down

0 comments on commit ebc0af3

Please sign in to comment.