codeigniter4 / shield

Authentication and Authorization for CodeIgniter 4
https://shield.codeigniter.com
MIT License
365 stars 133 forks source link

fix: Update active date only for users activated and not banned. #1184

Open warcooft opened 2 months ago

warcooft commented 2 months ago

Description See https://github.com/codeigniter4/shield/discussions/1179#discussion-7084659

Checklist:

kenjis commented 2 months ago

Because the existing PHPUnit tests do not fail, there seems no test code for recordActiveDate. I would like you to add test code: