PHP Version
8.1
CodeIgniter4 Version
4.5.0
Shield Version
1.0.2
Which operating systems have you tested for this bug?
Linux
Which server did you use?
apache
Database
MariaDB 10.5.24
Did you customize Shield?
No
What happened?
In CI 4.5.0 it's forbidden pass an object to save value in MYSQL driver, the value must be a string, located in:
- UserIdentityModel --> Line 445
- TokenLoginModel --> Line 38
- RememberModel -->Line 47 & Line 62
- LoginModel --> Line 83 & Line 124
*** I think that is more easy fix in CI4 4.5.0 directly adding (string) before value.
Steps to Reproduce
Install CI 4.5.0 and login
Expected Output
Correct login
Anything else?
No response