From ebc0af3b1fc2515977c338a06f40937aa983d66e Mon Sep 17 00:00:00 2001 From: Jason Cameron Date: Tue, 19 Dec 2023 18:21:38 -0500 Subject: [PATCH] pov: sus code. --- core/admin.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/admin.py b/core/admin.py index fdbc9ae..4207859 100644 --- a/core/admin.py +++ b/core/admin.py @@ -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 + [