lonnieezell / myth-auth

One-stop Auth package for CodeIgniter 4
MIT License
632 stars 207 forks source link

Update to Codeigniter 4.4.0 #602

Closed m85eu closed 8 months ago

m85eu commented 1 year ago

Is this package works with newest version of framework?

manageruz commented 11 months ago

Yes. This package works with the latest version of CodeIgniter 4.4.1

chrisastley commented 11 months ago

Yes. This package works with the latest version of CodeIgniter 4.4.1

There is actually an issue with compatibility against the latest version. In version 4.4.0 they made breaking changes if you use rememberUser option.

See changelog here https://codeigniter4.github.io/userguide/changelogs/v4.4.0.html#changes

Cookie settings have moved to dedicated file and the parameter names have changed. I have had to manually update both function rememberUser and refreshRemember in vendor/myth/auth/src/Authentication/AuthenticationBase.php

`` /**

manageruz commented 11 months ago

Yep.

There is actually an issue with compatibility against the latest version.

Yep. It's my fault. We need to update some code.