![]() |
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 - 08-13-2011 [eluser]Ben Edmunds[/eluser] michaelh99, v2 has it's own branch on github. Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 08-14-2011 [eluser]michaelh99[/eluser] I'm guessing that since you didn't reply to the offer of assistance, you aren't looking for any? Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 08-14-2011 [eluser]jszym[/eluser] Hi, I was just wondering whether I would be able to change the hashing routine in my install. Is it just a function in the library or is it scattered all over the place? Joseph Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 08-15-2011 [eluser]Ben Edmunds[/eluser] michaelh99, Definitely up for assistance. Just send me a pull request for any updates you have. Thanks! Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 08-15-2011 [eluser]Ben Edmunds[/eluser] jszym, It's just a method that can be changed easily. Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 08-15-2011 [eluser]jszym[/eluser] Thanks Ben, Just to be clear, it's located in the Ion Auth model, right? (I've substituted it for a bcrypt implementation ![]() jszym Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 08-16-2011 [eluser]Ben Edmunds[/eluser] jszym, That is correct. Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 08-18-2011 [eluser]Kevin Phillips[/eluser] Using Ion 2 Small problem, first the function $this->ion_auth->is_group($group) should be in_group(). I think I remember seeing this elsewhere. However a problem exists if you pass an array of groups. Currently is_group returns in_array($check_group, $groups) which won't work if check_group is an array. Solution: application/libraries/Icon_auth.php Add condition to check if $check_groups is an array and if it is then walk through the array checking for a match. Code: public function in_group($check_group) Otherwise love your work Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 08-19-2011 [eluser]Ben Edmunds[/eluser] Kevin, Thanks dude, that looks awesome. Can you send me a pull request on github? In travelling this weekend so if you do that I can merge it from my phone, thanks! Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 08-19-2011 [eluser]ammonkc[/eluser] I was just poking around in the code for Ion_auth 2. I love how the library has been refactored and streamlined. But I do have a question. What exactly does trigger_events() do? |