![]() |
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 - 07-16-2012 [eluser]Ben Edmunds[/eluser] rip_pit, Please send a pull request for any additional translations that are needed. Thanks! Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 07-17-2012 [eluser]rei[/eluser] Hi, I'm now trying to use Ion Auth but when I'm running the sql scripts of Ion auth to make tables on my database it shows me an error: MySQL said: Documentation #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IDENTITY(1,1), ip_address varbinary(16) NOT NULL, username varchar(100) ' at line 2 How can I fix this? Nwei I'm using xampp server in windows 7 64-bit Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 07-17-2012 [eluser]rei[/eluser] Hi, Its now working. I used the ion_auth.sql file ![]() ![]() Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 07-17-2012 [eluser]Ben Edmunds[/eluser] Hey rei, Just change the 'identity' config setting to 'username' in the ion_auth.php config file. Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 07-17-2012 [eluser]rei[/eluser] Thanks for your quick reply sir. It's now working ![]() ![]() ![]() Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 07-17-2012 [eluser]Ben Edmunds[/eluser] Users are assigned to groups, the users_groups table holds those relations. To add new data just add the fields to the users table and then you can pass it into the register() or update() methods. Thanks! Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 07-17-2012 [eluser]rei[/eluser] Wow. So I can really add custom fields without editing the source code of the Ion Auth library. Awesome! Thanks again sir ![]() Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 07-17-2012 [eluser]Miguel Suárez[/eluser] Hi, I have a problem, I cant seem to update the user's password from within a form: This is the code I'm using, it updates the other fields fine: Code: $id = $this->input->post('userId'); What am I doing wrong? Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 07-17-2012 [eluser]Ben Edmunds[/eluser] Miguel Suárez, That should work fine, any errors? if you do a var_dump($_POST); what do you get? Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 07-17-2012 [eluser]Miguel Suárez[/eluser] Mmmm sorry my bad, wrong variable name, using "userPass1" instead of "password". Funny how right after I post I find the solution. Have to say, nice Auth system you have here, been using it for a day and its pretty complete! Thanks for sharing |