How do you implement in codeigniter access control? or exempt certain functions to be executed in your controller?
I am using ion_auth for my authentication system.
I use MY_Controller to check whether the user is logged in: where:
class…
Using Ion Auth, I was able to successfully register and activate an account. The created account shows up in the database. However, trying to login keeps on saying "Incorrect Login." I have tried various combinations of passwords, tried enabling…
I have CodeIgniter Ion Auth configured with the following smtp info:
$config['use_ci_email'] = FALSE;
$config['email_config'] = array(
'mailtype' => 'html',
'protocol' => 'smtp',
'smtp_host' => 'mail.example.com',
'smtp_user' =>…
I am trying to register a user with Ion Auth, but the register() function does not seem to report any error messages. How does one register with Ion Auth? I've already read various tutorials like this one and this one (and the documentation), but…
I am using ion auth to create a login system for my codeigniter application. I have created routes for better URLs so that for example;
http://localhost/myApplication/index.php/auth/login
is now
http://localhost/myApplication/index.php/login
The…
I am very new to CodeIgniter Ion Auth, I was wondering if it is possible to add pages, outside the auth folder? the pages can be accessed only if the user is logged in. The main reason why I wanted the pages outside the auth folder is that I want to…
Sorry for the simple question but let's say that I'm using Ion-Auth with Codeigniter to distinguish between logged-in and not logged-in users.
And I have a simple custom Controller that captures the user's ID as such:
class MY_Controller extends…
Im trying to use Ion Auth to protect admin area on my site.
I installed Ion Auth (added tables, copied files).
I added file application/system/core/MY_Controller.php which looks like this:
Hi all i'm searching for a usage of IonAuth library for Codeigniter 2.x and i'm curious to learn how it works.
Downloading the package i have a controller auth.php.
i had a look at this…
Severity: Notice --> Trying to get property of non-object libraries\mongo_db.php 755
When using ion_auth with mongodb . Assessing collection user . it retrieves as a non-object.. any fixes ??
I have a problem with ion_auth . I converted all required file fit for Mongodb.
my config liles
mongo_db.php
$config['mongo_host'] = 'localhost';
$config['mongo_port'] = 27017;
$config['mongo_db'] = 'tls_saas';
$config['mongo_user'] =…
I'm a new kid with CI and ion_auth and have both running correctly. I have also created a view/template of a view/template/header and view/template/footer on another page ('welcome') that is a part of a fairly complex html5 responsive template with…
I try to use ion_auth library for codeigniter but I do not get it to work. Appropriate files already in given folders, mysql structure created
I have my admin structure as follows
controller
--admin
---dashboard.php
---auth.php
I request…
If user clicks on any link on page, I check if user is logged in in the controller method. If he is not logged then I show a Login Screen Modal onscreen.
Everything works fine till this point.
If user give wrong user name password. Next page appears…
I am trying to use Ion Auth framework with my CodeIgniter application.When user clicks a link request goes to Controller method and checks if user is logged in or not. If not then redirects to auth\login method. But I get html of the login page in…