Skip to content

Commit

Permalink
Add twofa_enabled to user admin
Browse files Browse the repository at this point in the history
  • Loading branch information
lukegb committed Mar 5, 2018
1 parent 7bd07c3 commit d003b31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spongeauth/accounts/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ class UserAdmin(django.contrib.auth.admin.UserAdmin):
}),
)
filter_horizontal = ()
list_display = ('username', 'email', 'is_active')
list_filter = ('is_admin',)
list_display = ('username', 'email', 'is_active', 'twofa_enabled')
list_filter = ('is_admin', 'twofa_enabled')
search_fields = ['username', 'email']
form = AdminUserChangeForm

Expand Down

0 comments on commit d003b31

Please sign in to comment.