File tree Expand file tree Collapse file tree 4 files changed +4
-16
lines changed
tests/fixtures/security/make-form-login/expected Expand file tree Collapse file tree 4 files changed +4
-16
lines changed Original file line number Diff line number Diff line change 2121 <input type="<?= $ username_is_email ? 'email ' : 'text ' ; ?> " value="{{ last_username }}" name="<?= $ username_field ; ?> " id="input<?= ucfirst ($ username_field ); ?> " class="form-control" autocomplete="<?= $ username_is_email ? 'email ' : 'username ' ; ?> " required autofocus>
2222 <label for="inputPassword">Password</label>
2323 <input type="password" name="password" id="inputPassword" class="form-control" autocomplete="current-password" required>
24-
25- <input type="hidden" name="_csrf_token"
26- value="{{ csrf_token('authenticate') }}"
27- >
24+ <input type="hidden" name="_csrf_token" data-controller="csrf-protection" value="{{ csrf_token('authenticate') }}">
2825<?php if ($ support_remember_me && !$ always_remember_me ): ?>
2926
3027 <div class="checkbox mb-3">
Original file line number Diff line number Diff line change 2121 <input type="<?= $ username_is_email ? 'email ' : 'text ' ; ?> " value="{{ last_username }}" name="_username" id="username" class="form-control" autocomplete="<?= $ username_is_email ? 'email ' : 'username ' ; ?> " required autofocus>
2222 <label for="password">Password</label>
2323 <input type="password" name="_password" id="password" class="form-control" autocomplete="current-password" required>
24-
25- <input type="hidden" name="_csrf_token"
26- value="{{ csrf_token('authenticate') }}"
27- >
24+ <input type="hidden" name="_csrf_token" data-controller="csrf-protection" value="{{ csrf_token('authenticate') }}">
2825
2926 {#
3027 Uncomment this section and add a remember_me option below your firewall to activate remember me functionality.
Original file line number Diff line number Diff line change 1919 <input type =" email" value =" {{ last_username }}" name =" _username" id =" username" class =" form-control" autocomplete =" email" required autofocus >
2020 <label for =" password" >Password</label >
2121 <input type =" password" name =" _password" id =" password" class =" form-control" autocomplete =" current-password" required >
22-
23- <input type =" hidden" name =" _csrf_token"
24- value =" {{ csrf_token(' authenticate' ) }}"
25- >
22+ <input type =" hidden" name =" _csrf_token" data-controller =" csrf-protection" value =" {{ csrf_token(' authenticate' ) }}" >
2623
2724 {#
2825 Uncomment this section and add a remember_me option below your firewall to activate remember me functionality.
Original file line number Diff line number Diff line change 1313 <input type =" email" value =" {{ last_username }}" name =" _username" id =" username" class =" form-control" autocomplete =" email" required autofocus >
1414 <label for =" password" >Password</label >
1515 <input type =" password" name =" _password" id =" password" class =" form-control" autocomplete =" current-password" required >
16-
17- <input type =" hidden" name =" _csrf_token"
18- value =" {{ csrf_token(' authenticate' ) }}"
19- >
16+ <input type =" hidden" name =" _csrf_token" data-controller =" csrf-protection" value =" {{ csrf_token(' authenticate' ) }}" >
2017
2118 {#
2219 Uncomment this section and add a remember_me option below your firewall to activate remember me functionality.
You can’t perform that action at this time.
0 commit comments