Welcome Guest, Not a member yet? Register   Sign In
Ion Auth - Lightweight Auth System based on Redux Auth 2

[eluser]Unknown[/eluser]
Hi ben, I just put pull issue in github repo's.

I don't know about this if, i was remove additional data in register method,

Code:
$username = 'benedmunds';
$password = '12345678';
$email = '[email protected]';
  
  $group = array('1'); // Sets user to admin. No need for array('1', '2') as user is always set to member by default

  $this->ion_auth->register($username, $password, $email, $group)

why the user set to 'default group' and not in 'admin group', any one result same as me?

thx.


Messages In This Thread
Ion Auth - Lightweight Auth System based on Redux Auth 2 - by El Forum - 06-27-2013, 05:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB