diff --git a/src/bornhack/urls.py b/src/bornhack/urls.py index da7583ee..8313ca09 100644 --- a/src/bornhack/urls.py +++ b/src/bornhack/urls.py @@ -16,6 +16,7 @@ from people.views import * from tickets.views import ShopTicketListView from bar.views import MenuView +# require 2fa token entry (if enabled on admin account) when logging into /admin by using allauth login form admin.site.login = login_required(admin.site.login) urlpatterns = [