forked from shaba/openuds
Fixed a possible bug with the use of the IP authenticator. Now it checks that the username "ip" is the same as request.ip
This commit is contained in:
parent
8ca12ddbc6
commit
2cc81d2b8b
@ -55,7 +55,7 @@ class BaseForm(forms.Form):
|
||||
|
||||
class LoginForm(BaseForm):
|
||||
user = forms.CharField(label=_('Username'), max_length=64)
|
||||
password = forms.CharField(label=_('Password'), widget=forms.PasswordInput({'title': _('Password')}))
|
||||
password = forms.CharField(label=_('Password'), widget=forms.PasswordInput({'title': _('Password')}), required=False)
|
||||
authenticator = forms.ChoiceField(label=_('Authenticator'), choices = ())
|
||||
java = forms.CharField(widget = forms.HiddenInput())
|
||||
standard = forms.CharField(widget = forms.HiddenInput(), required=False)
|
||||
|
Loading…
Reference in New Issue
Block a user