File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,14 @@ parameters:
1212 ignoreErrors:
1313 - '#Call to an undefined method CodeIgniter\\Database\\ConnectionInterface::[A-Za-z].+\(\)#'
1414 - '#Cannot access property [\$a-z_]+ on (array|object)#'
15+ -
16+ message: '#Call to deprecated function random_string\(\):#'
17+ paths:
18+ - src/Authentication/Actions/Email2FA.php
19+ - src/Authentication/Actions/EmailActivator.php
20+ - src/Controllers/MagicLinkController.php
21+ - src/Models/TokenLoginModel.php
22+ - src/Models/UserIdentityModel.php
1523 universalObjectCratesClasses:
1624 - CodeIgniter\Entity
1725 - CodeIgniter\Entity\Entity
Original file line number Diff line number Diff line change @@ -51,7 +51,8 @@ public function loginAction(): RedirectResponse
5151 return redirect ()->back ()->withInput ()->with ('errors ' , $ this ->validator ->getErrors ());
5252 }
5353
54- $ credentials = $ this ->request ->getPost (setting ('Auth.validFields ' ));
54+ /** @var array $credentials */
55+ $ credentials = $ this ->request ->getPost (setting ('Auth.validFields ' )) ?? [];
5556 $ credentials = array_filter ($ credentials );
5657 $ credentials ['password ' ] = $ this ->request ->getPost ('password ' );
5758 $ remember = (bool ) $ this ->request ->getPost ('remember ' );
You can’t perform that action at this time.
0 commit comments