@@ -61,7 +61,7 @@ public function changePassword($id = null)
6161 $ redirect = Configure::read ('Users.Profile.route ' );
6262 } else {
6363 $ this ->Flash ->error (
64- __d ('cake_d_c/users ' , 'Changing another user \'s password is not allowed ' )
64+ __d ('cake_d_c/users ' , 'Changing another user \'s password is not allowed ' ),
6565 );
6666 $ this ->redirect (Configure::read ('Users.Profile.route ' ));
6767
@@ -70,7 +70,7 @@ public function changePassword($id = null)
7070 } else {
7171 // password reset
7272 $ user ->id = $ this ->getRequest ()->getSession ()->read (
73- Configure::read ('Users.Key.Session.resetPasswordUserId ' )
73+ Configure::read ('Users.Key.Session.resetPasswordUserId ' ),
7474 );
7575 $ validatePassword = false ;
7676 $ redirect = $ this ->Authentication ->getConfig ('loginAction ' );
@@ -99,7 +99,7 @@ public function changePassword($id = null)
9999 'password ' => true ,
100100 'password_confirm ' => true ,
101101 ],
102- ]
102+ ],
103103 );
104104
105105 if ($ user ->getErrors ()) {
@@ -168,7 +168,7 @@ public function requestResetPassword()
168168 if ($ resetUser ) {
169169 $ msg = __d (
170170 'cake_d_c/users ' ,
171- 'If the account is valid, the system will send an instructional email to the address on record. '
171+ 'If the account is valid, the system will send an instructional email to the address on record. ' ,
172172 );
173173 $ this ->Flash ->success ($ msg );
174174 } else {
@@ -180,7 +180,7 @@ public function requestResetPassword()
180180 } catch (UserNotFoundException | UserNotActiveException $ exception ) {
181181 $ msg = __d (
182182 'cake_d_c/users ' ,
183- 'If the account is valid, the system will send an instructional email to the address on record. '
183+ 'If the account is valid, the system will send an instructional email to the address on record. ' ,
184184 );
185185 $ this ->Flash ->success ($ msg );
186186 } catch (Exception $ exception ) {
0 commit comments