5 lines
159 B
Python
5 lines
159 B
Python
from django.contrib import admin
|
|
from otp_agents.decorators import otp_required
|
|
|
|
|
|
admin.site.login = otp_required(admin.site.login, accept_trusted_agent=True)
|