![]() |
Ion Auth - Lightweight Auth System based on Redux Auth 2 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Ion Auth - Lightweight Auth System based on Redux Auth 2 (/showthread.php?tid=27435) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 01-19-2011 [eluser]Frank Rocco[/eluser] Ben, This email is working on godaddy. Code: $this->load->library('email'); Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 01-19-2011 [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')); Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 01-19-2011 [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? Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 01-19-2011 [eluser]Frank Rocco[/eluser] If I change the mail type to text instead of html, I get no errors. Any ideas? Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 01-19-2011 [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 Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 01-20-2011 [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. Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 01-20-2011 [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. Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 01-20-2011 [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? Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 01-20-2011 [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. Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 01-20-2011 [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. |