lib/generators/authentication/templates/erb/sessions/sudos/new.html.erb.tt in authentication-zero-2.9.1 vs lib/generators/authentication/templates/erb/sessions/sudos/new.html.erb.tt in authentication-zero-2.9.2
- old
+ new
@@ -5,10 +5,10 @@
<%%= form_with(url: sessions_sudo_path) do |form| %>
<%%= hidden_field_tag :proceed_to_url, params[:proceed_to_url] %>
<div>
- <%%= password_field_tag :password, nil, autofocus: true, autocomplete: "current-password" %>
+ <%%= password_field_tag :password, nil, required: true, autofocus: true, autocomplete: "current-password" %>
</div>
<div>
<%%= form.submit "Continue" %>
</div>