core,oauth_provider: cleanup templates, add MFA error view
This commit is contained in:
@ -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')
|
||||
}
|
||||
|
Reference in New Issue
Block a user