File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
src/Resources/scaffolds/6.0
change-password/templates/user
reset-password/templates/reset_password Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ class AuthenticationTest extends KernelTestCase
108
108
-> assertOn (' /' )
109
109
-> assertSuccessful ()
110
110
-> assertAuthenticated (' mary@example.com' )
111
- -> use (function(CookieJar $cookieJar ) {
111
+ -> use (function (CookieJar $cookieJar ) {
112
112
$cookieJar -> expire (' MOCKSESSID' );
113
113
} )
114
114
->withProfiling()
@@ -130,7 +130,7 @@ class AuthenticationTest extends KernelTestCase
130
130
-> assertOn (' /' )
131
131
-> assertSuccessful ()
132
132
-> assertAuthenticated (' mary@example.com' )
133
- -> use (function(CookieJar $cookieJar ) {
133
+ -> use (function (CookieJar $cookieJar ) {
134
134
$cookieJar -> expire (' MOCKSESSID' );
135
135
} )
136
136
->visit('/')
@@ -184,7 +184,7 @@ class AuthenticationTest extends KernelTestCase
184
184
-> click (' Sign in' )
185
185
-> assertOn (' /' )
186
186
-> assertAuthenticated (' mary@example.com' )
187
- -> use (function(CookieJar $cookieJar ) {
187
+ -> use (function (CookieJar $cookieJar ) {
188
188
$cookieJar -> expire (' MOCKSESSID' );
189
189
} )
190
190
->visit('/login')
Original file line number Diff line number Diff line change 8
8
<h1 >Change Password</h1 >
9
9
10
10
{ { form_start(changePasswordForm) } }
11
- { { form_row(changePasswordForm.currentPassword, { label: ' Current Password' } ) }}
12
- { { form_row(changePasswordForm.plainPassword.first, { label: ' New Password' } ) }}
13
- { { form_row(changePasswordForm.plainPassword.second, { label: ' Repeat New Password' } ) }}
11
+ { { form_row(changePasswordForm.currentPassword, {label: ' Current Password' } ) }}
12
+ { { form_row(changePasswordForm.plainPassword.first, {label: ' New Password' } ) }}
13
+ { { form_row(changePasswordForm.plainPassword.second, {label: ' Repeat New Password' } ) }}
14
14
15
15
<button type =" submit" class =" btn btn-primary" >Change Password</button >
16
16
{ { form_end(changePasswordForm) } }
Original file line number Diff line number Diff line change 7
7
8
8
{% for type, messages in app.flashes %}
9
9
{% for message in messages %}
10
- <div class =" alert alert-{ { type|replace ({ error: ' danger' } ) } } " >
10
+ <div class =" alert alert-{ { type|replace ({ error: ' danger' } ) } } " >
11
11
{ { message } }
12
12
</div >
13
13
{% endfor %}
Original file line number Diff line number Diff line change 8
8
<h1 >Reset your password</h1 >
9
9
10
10
{ { form_start(requestForm) } }
11
- { { form_row(requestForm.email, { help: ' Enter your email address and we will send you a link to reset your password.' } ) }}
11
+ { { form_row(requestForm.email, {help: ' Enter your email address and we will send you a link to reset your password.' } ) }}
12
12
13
13
<button class =" btn btn-primary" >Send password reset email</button >
14
14
{ { form_end(requestForm) } }
You can’t perform that action at this time.
0 commit comments