Skip to content

Commit 39378fa

Browse files
committed
Merge branch '5.4' into 6.4
* 5.4: Update security.rst
2 parents 22801d5 + 31ced83 commit 39378fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

security.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -890,10 +890,10 @@ Finally, create or update the template:
890890

891891
<form action="{{ path('app_login') }}" method="post">
892892
<label for="username">Email:</label>
893-
<input type="text" id="username" name="_username" value="{{ last_username }}">
893+
<input type="text" id="username" name="_username" value="{{ last_username }}" required>
894894

895895
<label for="password">Password:</label>
896-
<input type="password" id="password" name="_password">
896+
<input type="password" id="password" name="_password" required>
897897

898898
{# If you want to control the URL the user is redirected to on success
899899
<input type="hidden" name="_target_path" value="/account"> #}

0 commit comments

Comments
 (0)