core,oauth_provider: cleanup templates, add MFA error view

This commit is contained in:
Jens Langhammer
2018-12-14 15:18:02 +01:00
parent 6314ffab46
commit e81f525cea
6 changed files with 24 additions and 4 deletions

View File

@ -1,6 +1,7 @@
"""passbook rule forms"""
from django import forms
from django.utils.translation import gettext as _
from passbook.core.models import DebugRule, FieldMatcherRule, WebhookRule
@ -46,3 +47,6 @@ class DebugRuleForm(forms.ModelForm):
widgets = {
'name': forms.TextInput(),
}
labels = {
'result': _('Allow user')
}