![]() |
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 - 06-11-2010 [eluser]huuray[/eluser] ben,when i try to register using existed email, the form will not submit. any idea to output message [the email is existed.] Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 06-11-2010 [eluser]Sinclair[/eluser] Another question about the Ion Auth... I need to create users in a Database Procedure, using PlpgSQL language... so I need to understand a litle bit better the table "USERS" and the account creation process. My firts question, what is the "salt"? My second question goes to the password storage. I need to generate the password encryption in the Database procedure. What kind of encryption is the Ion Auth using? I have read some code: Code: // IP Address Best Regards, Sorry my poor english. Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 06-11-2010 [eluser]Ben Edmunds[/eluser] huuray, I usually add a validation callback to check the email. I think I've posted one a few times on this thread. Basically you just check $this->ion_auth->email_check($email); Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 06-11-2010 [eluser]Ben Edmunds[/eluser] Sinclair, You can look through the hash_password method in the model to see how the encryption is done. If using stored salts it generates a random salt and then stores that in the users row and then does an sha1 encryption with the salt and the password. But just look through that method for the exact algorithm. Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 06-11-2010 [eluser]huuray[/eluser] btw,where i can find wiki or manual for ion auth? Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 06-11-2010 [eluser]- Obonk -[/eluser] Dear Ben Is it oke if I change the field created_on and Last_login to DATETIME and active to enum('0','1')? Thanks Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 06-12-2010 [eluser]dreamer111[/eluser] Hey guys. First thing first: Ion_auth is awesome! I got stuck on this one though: when I run profile function: $profile = $this->ion_auth->profile(); I only get results from users and groups table. For some reason i don't get anything back in that query from meta table (phone, company, firstname, last name). I can run separate query against meta table using user_id to get that data, but it seems to me that profile() function should return that info. Does anyone have any idea what's up? Thanks Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 06-12-2010 [eluser]InsiteFX[/eluser] Hi Ben, Can you add regex check in the email check for checking illegal characters? A customer of mine using PyroCMS has some users entering charters like + - etc. Thank you InsiteFX Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 06-12-2010 [eluser]Ben Edmunds[/eluser] huuray, There isn't one. Just check out the methods in the model. - Obonk -, That should be fine. You can always try it and change it back if needed. dreamer111, The profile method is still there for backwards compatibility with redux auth. I recommend using get_user() instead. InsiteFX, It is using the CI validation 'valid_email'. Is there an issue with this function? Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 06-12-2010 [eluser]dreamer111[/eluser] Thanks for quick reply Ben. I've tried get_user() - but it does the same thing. It return users and groups tables without any info from meta table. Could you confirm that the latest github build with default included schema returns meta info? Thanks |