Ion Auth - Lightweight Auth System based on Redux Auth 2 |
[eluser]Frank Rocco[/eluser]
Ben, This email is working on godaddy. Code: $this->load->library('email');
[eluser]Frank Rocco[/eluser]
The only difference in your code is: Code: $this->ci->email->from($this->ci->config->item('admin_email', 'ion_auth'), $this->ci->config->item('site_title', 'ion_auth'));
[eluser]srpurdy[/eluser]
hmm I been using Ion_auth for awhile. Recently got a second server. It's using php 5.2.6, For some reason it won't logout once logged in. Weird thing is it only does this in firefox. It works in IE. I tested the exact same files on my older server, which has php 5.2.14 and it works perfectly. :| The weird thing is I have it working on this server under CI 1.7.2, but this new one is using HMVC CI 2.0. I would think it wouldn't work at all though if I didn't have something setup correctly. Weirdest thing I've seen in awhile lol. Does anyone know maybe there is a php module I don't have loaded that could cause this?
[eluser]Frank Rocco[/eluser]
If I change the mail type to text instead of html, I get no errors. Any ideas?
[eluser]Andy78[/eluser]
Has anybody added another table to the users object? For example you have users, groups and meta I want to add a forth table user_profiles and have the fields from this returned in the standard user object. I know it shouldn't be that difficult to this but I'm a bit rusty and tired right now and cant follow the full logic of the library. Is it as simple as adding another join into this function: Code: public function get_users($group = false) I'm not sure how this would fit in with the ion_auth config file and where else in the library id have to take the table into account. So if anybody else has done this I wouldn't mind an example of your code
[eluser]srpurdy[/eluser]
[quote author="srpurdy" date="1295483019"]hmm I been using Ion_auth for awhile. Recently got a second server. It's using php 5.2.6, For some reason it won't logout once logged in. Weird thing is it only does this in firefox. It works in IE. I tested the exact same files on my older server, which has php 5.2.14 and it works perfectly. :| The weird thing is I have it working on this server under CI 1.7.2, but this new one is using HMVC CI 2.0. I would think it wouldn't work at all though if I didn't have something setup correctly. Weirdest thing I've seen in awhile lol. Does anyone know maybe there is a php module I don't have loaded that could cause this?[/quote] nevermind I'm a dumbass as usual. Long night of coding lol. I forgot the logout area moved url locations so it was just redirecting back to the login screen instead of logging out. Because I used the wrong url. It's still strange though because it does work on the other server, and this behavior is only in Firefox. For example I was trying to auth/logout instead of users/auth/logout the second one works the first one just redirects back to login page, but I'm still logged in.
[eluser]sdotsen[/eluser]
Anyone face this issue before? I can login via Firefox but both IE8 and Chrome keeps redirecting me back to the login page. Not sure what's going on.
[eluser]sdotsen[/eluser]
[quote author="sdotsen" date="1295593524"]Anyone face this issue before? I can login via Firefox but both IE8 and Chrome keeps redirecting me back to the login page. Not sure what's going on.[/quote] Ok, figured it out. I develop using a virtual machine. I didnt update the time on the server. Once I did that, I was able to log in. With that said, Firefox didnt care; should I be concerned?
[eluser]Ben Edmunds[/eluser]
Hey Frank, You can check the $config passed to the email library when Ion Auth sends the email. There is an open issue for importing the email.php config file but I haven't gotten around to coding it up yet.
[eluser]Ben Edmunds[/eluser]
sdotsen, I've ran into that before. You might want to check out some of the CI Session libraries that are available, CI Sessions are known to be a bit problematic. |
Welcome Guest, Not a member yet? Register Sign In |