Ion Auth User and Admin Issue - CodeIgniter

887 Views Asked by At

I'm using Ion Auth for my website authentication, and it's a wonderful tool with one slight issue. Whenever a user is created, they are automatically created as an administrator and not a member or general user even though this is specified within my ion_auth config file. Has anyone else come across this issue, or know how to resolve this?

1

There are 1 best solutions below

2
On BEST ANSWER

In application/config/ion_auth.php

$config['default_group'] = 'members';

'members' must be inserted in the 'groups' table defined by:

$config['tables']['groups'] = 'groups';

If this not works the problem is in another part...