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

[eluser]Kinsbane[/eluser]
[quote author="Ben Edmunds" date="1272065622"]Kinsbane,

If you turn on the stored salt you have to input the salt into the user field. The salt to use is in the config file.[/quote]

Could you explain that a bit further?

[eluser]Ben Edmunds[/eluser]
Kisbane,

In the config file in the comments there is a salt that needs to be inputted into the salt field for the admin user in the users table in the database.

That way you can use the same password for the non-stored salt and stored salt demo user.

[eluser]voscom[/eluser]
Hi Ben,

Your auth seems promising, are you able to keep it up to date for the next couple of years?

Thanks a lot for your time mate.
atno

[eluser]wizL[/eluser]
Hi!

I just started using Ion Auth today and I had some problems after installing it. I was getting an error about users/ion_auth. So after a few minutes of searching I found the error was in the repository code.

file:
http://github.com/benedmunds/CodeIgniter..._model.php

line: 67

$this->load->config('users/ion_auth', TRUE);

should be

$this->load->config('ion_auth', TRUE);

at least for a default installation.

Otherwise thanks for the auth system!

Just a quick question: is it a lot of work to change login from email to username? I would rather use username instead of email.

[eluser]2think[/eluser]
wizL, you checkted out the model but not the config file? Its in there (config/ion_auth.php), just look for the identity config value. I think its around line 63.

So yes, you can use username instead of email, it's totally up to you. That's one of the aspects that makes this library - along with the excellent code comments and coding style - so powerful.

[eluser]wizL[/eluser]
2think, I did check the config file, but it's not working. That's why I am asking if there is something more to do. I changed the identity to "username". I am using the default example that was included.

[eluser]Ben Edmunds[/eluser]
voscom,
I plan to. It's open source though so if I move on, Phil Sturgeon or whoever else wants to can continue it.


wizL,
Sorry for that. I forgot to remove that when I was testing some functionality for PyroCMS. And to answer your question, if you change the identity to username in the config it will work. I used it today in a project so I know it works.


Thanks,

[eluser]gscharlemann[/eluser]
Has anyone experienced any issues with the ion_auth library in Internet Explorer? I've been using the package for a couple of months, mostly in Firefox (and some Chrome) without issues. I've found that IE tends to hang for 2-3 seconds before loading the page... and this happens on most calls to the controller: change_password, forgot_password, login, etc.

I thought it might have something to do with the 'refresh' call in the redirect:
Code:
redirect('auth/login', 'refresh');
but I changed them to 'location' as suggested in the CodeIgniter URL Helper page (well, it says it's faster) without any improvement. The server I'm running is on a linux box. PHP 5.2.9

Thanks

[eluser]Ben Edmunds[/eluser]
gscharlemann,

I haven't experienced any issues but I don't use IE that often.

Would you mind trying out PyroCMS and seeing if you experience the same issue? Pyro uses Ion Auth for authentication.


Thanks,

[eluser]gscharlemann[/eluser]
I don't think it's ion_auth. I setup another controller and did a redirect with the same issue in IE. I don't get it. I created a new forum post for the issue. Sorry to clutter this one up.

http://ellislab.com/forums/viewthread/153574/




Theme © iAndrew 2016 - Forum software by © MyBB