Welcome Guest, Not a member yet? Register   Sign In
About IonAuth 4 auth System
#2

I believe that you are making some confusion...

Try to keep it simple...

Just load the library in method and BE HAPPY ! Ion Auth is meant to be simple...  Big Grin

PHP Code:
    public function addNewRecord()
    {

        //Loads the Authentication Library: ION AUTH
        $ionAuth = new \IonAuth\Libraries\IonAuth();

        //Checks if the user is Logged In
        if(!$ionAuth->loggedIn()){

           die;   

        }
    
Reply


Messages In This Thread
About IonAuth 4 auth System - by adelbak - 11-02-2019, 10:00 PM
RE: About IonAuth 4 auth System - by Poetawd - 11-09-2019, 02:08 PM
RE: About IonAuth 4 auth System - by macruzgi - 11-13-2019, 10:55 AM
RE: About IonAuth 4 auth System - by XTAZ - 11-12-2019, 01:16 PM
RE: About IonAuth 4 auth System - by cseon - 11-27-2019, 12:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB