![]() |
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 - 12-06-2010 [eluser]Yoosuf Muhammad[/eluser] I see a problem with ion_Auth, which is mainly about session; When I logged in, if I wanted to go for another controller, via URL, by entering in the address bar, the controller redirects to the login function For i.e. http://localhost/account http://localhost/auth /login Actually how to come out form this issue? Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 12-06-2010 [eluser]techgnome[/eluser] Hard to say. I don't know about any one else around here, but I'm not clairvoyant. I'm guessing that since I haven't had this problem (and I use Ion Auth too), that there's something not right in your controller. In other words, can you show us the code? -tg Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 12-06-2010 [eluser]Ben Edmunds[/eluser] Muhammad, I don't understand the question.... Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 12-06-2010 [eluser]Todlerone[/eluser] Hello everyone. Sorry for the simple questions. I've successfully implemented Ion Auth as a log in. Works great. Now I'm trying to add some functionality to my website. I have a model that stores personal information (limited). All I'm trying to do is add their username to the table (not through a form) for creating/editing the data. The form doesn't error but the $user['username'] comes up empty. Sorry I don't have the code (it's at work). What is the difference between passing variables with $data['username'] and $this->data['username']? TY Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 12-06-2010 [eluser]Ben Edmunds[/eluser] Todlerone, Just the scope of the variable. $this->data can be accessed from any class method while $data can only be accessed in the current method. Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 12-06-2010 [eluser]Todlerone[/eluser] [quote author="Ben Edmunds" date="1291700333"]Todlerone, Just the scope of the variable. $this->data can be accessed from any class method while $data can only be accessed in the current method.[/quote] Ty again Ben. When I try to use the $this->user['username'] I get a NULL value when inserting into the model. Cheers... Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 12-06-2010 [eluser]33cent[/eluser] Ben, do you have planned to implement a user ban feature in one of the following versions? "user active" works well, but missing some important info, when deleted or banned user try to login, but they dont have detailed info of account status. Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 12-06-2010 [eluser]Ben Edmunds[/eluser] Todlerone, I'll need to see your code. Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 12-06-2010 [eluser]Ben Edmunds[/eluser] 33cent, Not really. I would add meta data for that if I was you. Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 12-07-2010 [eluser]33cent[/eluser] Thanks for reply, i will try to do it, like you said. |