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

[eluser]rulin[/eluser]
[quote author="dhaulagiri" date="1300949529"][quote author="rulin" date="1300918918"][quote author="dhaulagiri" date="1300914182"]I cannot see register function in auth controller but there is in ion_auth library, how do i implement it ?[/quote]

Hi dhaulagiri

Look at function create_user() in the sample controller (auth.php), there is an example there.

Code:
if ($this->form_validation->run() == true && $this->ion_auth->register($username, $password, $email, $additional_data, $group))


Russ[/quote]

Do i need to create new function for user to register ?[/quote]

If you mean you want a screen where users can register themselves, then yes.
I don't think there is anything in Ben's demo code specifically for that.
You can probably create something fairly easily based on the Create_user view.

Russ


Messages In This Thread
Ion Auth - Lightweight Auth System based on Redux Auth 2 - by El Forum - 03-24-2011, 02:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB