Skip to content

Commit

Permalink
feat(user): Add the email_confirmed field to the admin interface
Browse files Browse the repository at this point in the history
  • Loading branch information
ERosendo committed Jun 1, 2023
1 parent a3b2cc2 commit ca7b340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bc/users/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class UserChannelInline(admin.TabularInline):
class UserAdmin(BaseUserAdmin):
fieldsets = BaseUserAdmin.fieldsets + ( # type: ignore
# Custom fields added on to the bottom
("Extra Fields", {"fields": ["affiliation"]}),
("Extra Fields", {"fields": ["affiliation", "email_confirmed"]}),
)
add_fieldsets = (
(None, {"classes": ["wide"], "fields": ["email"]}),
Expand Down

0 comments on commit ca7b340

Please sign in to comment.