[split] Ion-Auth with CI4 |
(11-01-2019, 06:12 AM)MGatner Wrote: IonAuth is great, I have all respect for it. It is not a very good example of a CodeIgniter 4 module nor does it leverage a lot of the strength of CI4. It is a port of a library from CI3 so lacks support for a number of features in CI4. The docs are not valid for CI4 so its a little hard to tell but it seems like developers either need to extend the IonAuth controller (which precludes extending another Controller, like the framework resource controllers) or implement their own use of the library in filters/controllers. There is NO need to extend Ion Auth controller. Just need to load the library... PHP Code: //Pre loads the Authentication Library: ION AUTH And check for login: PHP Code: if ( $this->ionAuth->loggedIn() ) { Simple as that... Myth:Auth is awesome and Lonnie is doing a SUPERB job ! But so far I was not able to install or use the library.... ... and Ion Auth is simple as unzipping the file, changing some configs and... you are ready to go ! |
Welcome Guest, Not a member yet? Register Sign In |