Commit dce56b13 by Régis Behmo

Make sure login form can't be submitted too early

Tyhe sign in form should not be submitted before the submit event is
ready to be intercepted. This can occur if the user clicks too fast on
the sign in button.
parent c3c35f07
......@@ -17,7 +17,7 @@ from django.utils.translation import ugettext as _
</header>
<article class="content-primary" role="main">
<form id="login_form" method="post" action="login_post">
<form id="login_form" method="post" action="login_post" onsubmit="return false;">
<fieldset>
<legend class="sr">${_("Required Information to Sign In to {studio_name}").format(studio_name=settings.STUDIO_NAME)}</legend>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment