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 22801d5 + 31ced83 commit 39378faCopy full SHA for 39378fa
security.rst
@@ -890,10 +890,10 @@ Finally, create or update the template:
890
891
<form action="{{ path('app_login') }}" method="post">
892
<label for="username">Email:</label>
893
- <input type="text" id="username" name="_username" value="{{ last_username }}">
+ <input type="text" id="username" name="_username" value="{{ last_username }}" required>
894
895
<label for="password">Password:</label>
896
- <input type="password" id="password" name="_password">
+ <input type="password" id="password" name="_password" required>
897
898
{# If you want to control the URL the user is redirected to on success
899
<input type="hidden" name="_target_path" value="/account"> #}
0 commit comments