Skip to content

Commit 3b9ed89

Browse files
committed
Merge branch '7.1' into 7.2
* 7.1: Update security.rst
2 parents 3236182 + 99eee1d commit 3b9ed89

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
@@ -876,10 +876,10 @@ Finally, create or update the template:
876876

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

881881
<label for="password">Password:</label>
882-
<input type="password" id="password" name="_password">
882+
<input type="password" id="password" name="_password" required>
883883

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

0 commit comments

Comments
 (0)