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:
12
12
ignoreErrors:
13
13
- '#Call to an undefined method CodeIgniter\\Database\\ConnectionInterface::[A-Za-z].+\(\)#'
14
14
- '#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
15
23
universalObjectCratesClasses:
16
24
- CodeIgniter\Entity
17
25
- CodeIgniter\Entity\Entity
Original file line number Diff line number Diff line change @@ -51,7 +51,8 @@ public function loginAction(): RedirectResponse
51
51
return redirect ()->back ()->withInput ()->with ('errors ' , $ this ->validator ->getErrors ());
52
52
}
53
53
54
- $ credentials = $ this ->request ->getPost (setting ('Auth.validFields ' ));
54
+ /** @var array $credentials */
55
+ $ credentials = $ this ->request ->getPost (setting ('Auth.validFields ' )) ?? [];
55
56
$ credentials = array_filter ($ credentials );
56
57
$ credentials ['password ' ] = $ this ->request ->getPost ('password ' );
57
58
$ remember = (bool ) $ this ->request ->getPost ('remember ' );
You can’t perform that action at this time.
0 commit comments