Auto-disable submit button for login form
not sure why i had explicitly disabled that before..?
This commit is contained in:
parent
b6618c8ee5
commit
90630fe852
|
@ -101,8 +101,6 @@ class AuthenticationView(View):
|
||||||
|
|
||||||
form = forms.Form(schema=UserLogin(), request=self.request)
|
form = forms.Form(schema=UserLogin(), request=self.request)
|
||||||
form.save_label = "Login"
|
form.save_label = "Login"
|
||||||
form.auto_disable_save = False
|
|
||||||
form.auto_disable = False # TODO: deprecate / remove this
|
|
||||||
form.show_reset = True
|
form.show_reset = True
|
||||||
form.show_cancel = False
|
form.show_cancel = False
|
||||||
if form.validate():
|
if form.validate():
|
||||||
|
|
Loading…
Reference in a new issue