Copied all ion auth folders into Codeigniter 2.1.4's applications folder. Created all login tables in database. Added following line in index() of default controller:
if ($this->ion_auth->logged_in()) {
…
I'm using Ion Auth for authentication and am having difficulty returning validation errors. The login(); function returns them as expected and when running register();, I'm redirected correctly, however no errors are returned.
Form…
I'm using the Ion Auth library for the authorisation in my CodeIgniter project. I would like to have the following options in my project:
If a user registers via the front-end of the website, he or she needs to activate their account via an…
I had Ion_auth working perfectly but then changed the table names:
$config['tables']['users'] = 'users_1';
$config['tables']['groups'] = 'groups_1';
$config['tables']['users_groups'] =…
I use Wordpress as a CMS, and it has a nice option whereby, when an admin creates a user, Wordpress generates a password and emails it to the user, who can then login and change it to something more memorable. Can such a feature be implemented in…
I am using Ionauth library in codeigniter and edited edit_user() method in Auth controller to enable individual user updating his/her own user settings. So when a logged in user goes to : siteurl/auth/edit_user it shows the user settings just fine.…
Please excuse the code I've posted that isn't code formatted. couldn't get the four spaces to work sometimes.
Hi. Looking for some insight on this error caused by num_rows() function in CodeIgniter.
Fatal error: Call to undefined method…
so I just started to use Ion_Auth lib for my CI applications and anyway I am having a bit of trouble with the results I get when using the library function in_group. Everything worked fine until I manually edited the default admin account and…
Specifically, I'm trying to change the register_redirect in the system/cms/modules/users/config/ion_auth.php config file.
Is there some place to put my application specific configs?
I'm setting up ion_auth for the first time and when I click submit from the login screen, it redirects the URL from baseurl/auth/login to baseurl/?auth/login and gets caught in a loop. Any ideas why that question mark is appended to the…
i saw this function 'is_post' at this website:
http://www.kylenoland.com/a-comprehensive-guide-to-securing-codeigniter-2-x-with-ben-edmunds-ion-auth/
class MY_Controller extends CI_Controller
{
public function is_post()
{
return…
I'm rather new at CodeIgniter and especially Ion Auth. I'm building a website which will have three tiers of user: User, Moderator and Admin. My aim is to use this code snippet:
if (!$this->ion_auth->in_group('moderator'))
{
…
I am building a website and am new to Codeigniter and Ion Auth. My website consists of three tiers of user: regular user, moderator and admin. I understand is_admin and is_logged in, but can't figure out how to create a new group for my…
I am playing with codeigniter and ion auth for the first time. I have got everything working however, in the ion auth template, the index view displays a list of all users.