2FA: Registraion of U2F devices

This commit is contained in:
Raphael Michel
2016-10-08 17:28:59 +02:00
parent 582d9dca25
commit aecf263de7
9 changed files with 865 additions and 2 deletions

View File

@@ -108,4 +108,5 @@ class User2FADeviceAddForm(forms.Form):
name = forms.CharField(label=_('Device name'))
devicetype = forms.ChoiceField(label=_('Device type'), widget=forms.RadioSelect, choices=(
('totp', _('Smartphone with the Authenticator application')),
('u2f', _('U2F-compatible hardware token (e.g. Yubikey)')),
))