We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3236182 + 99eee1d commit 3b9ed89Copy full SHA for 3b9ed89
security.rst
@@ -876,10 +876,10 @@ Finally, create or update the template:
876
877
<form action="{{ path('app_login') }}" method="post">
878
<label for="username">Email:</label>
879
- <input type="text" id="username" name="_username" value="{{ last_username }}">
+ <input type="text" id="username" name="_username" value="{{ last_username }}" required>
880
881
<label for="password">Password:</label>
882
- <input type="password" id="password" name="_password">
+ <input type="password" id="password" name="_password" required>
883
884
{# If you want to control the URL the user is redirected to on success
885
<input type="hidden" name="_target_path" value="/account"> #}
0 commit comments