I've been using CodeIgniter version 2.1.4 with Ion Auth for quite some time and everything was working great. Yesterday, I updated Ion Auth to the latest version and now I get a CSRF error whenever I try to "edit" any user profile.
"This form post…
I am using codeigniter and Ion_auth for my application. Got them both installed and they work just fine... This is the first time i really had to go in and do a custom redirect with codeigniter(newbie at codeigniter, also not a php master but pretty…
I have Ion Auth properly installed and working on my server. I also have the default CodeIgniter 2 "news" tutorial working in the same CI installation. I'm just playing around and curious about the proper way to use the authentication system to…
I know I can set ion auth to login by username in the config, I also know I can set it to login by email in the config.
Is there a simple way to set it it to use either automatically?
I'm still learning my way around in CodeIgniter.
I'd like to create a login form in my codeigniter application based on Ion Auth library.
I have installed the library following the instruction and it works fine when navigating to auth/login,…
I am trying to get list of users from Users table in codeigniter. My problem is that if am using following code than try to print out the result, it's giving me blank array while printing query using last_query() function and running this query in…
i have created a website which allows user to register and pay subscriptions. I have 3 user groups, comprising of admins, editors and common members. i want when a member joins, they can be able to add child-accounts to their account which will get…
Calling this function to redirect me to the login webpage throw me '404 Error : the page you requested was not found'. I have followed the same steps that i followed for another application and it worked fine. Any Ideas?
Link
I'm using the Ion_auth for CodeIgniter in my project auth library. I'm trying to make a similar function as is_admin() for other user types (there are three user types other than the admin) to check whether the logging in user is of one of those…
I'm using Ion Auth authentication library in Codeigniter. When I load my footer view, I get an CSRF Error(This form post did not pass our security checks). When I remove the footer view, it works fine though! Is there anything I'm doing wrong here?…
I have just started using ionauth, and I am trying to implement the maximum login attempts feature.
Problem is, I can't seem to find any documentation regarding this function on the documentation.
I figured out the function to call to check if…
I am currently working on a web project requiring user accounts. The application is CodeIgniter on the server side, so I am using Ion Auth as the authentication library.
I have written an authentication system before, where I used 2 salts to secure…
how can i check if user logged in or not in view ??
something like this:
if ($this->ion_auth->logged_in())
{
// do something ..
}
else
{
// do something else ..
}
and how can i get user data to variable ?
thanks a lot.
I'm trying to update an user with update_user function. But I have got this error.
Fatal error: Uncaught exception ‘Exception’ with message ‘Undefined method on_auth::update_user() called’
My code is
$id = 8;
$data = array(
'first_name' =>…