Displaying 2 results from an estimated 2 matches for "changeable_fields".
2006 Jul 05
1
Newbie SaltedHashLogin add new fields
Hello everyone, with some work i manage to make the SaltedHashLogin
works, and it works ok, now i want to use the same table and add some
new fields, one picture field so users can load his pictures. So here is
my trouble i use mysql and add the new fields, after that i change the
line changeable_fields = [''firstname'', ''lastname''], to
changeable_fields = [''firstname'', ''lastname'', ''sex''] in the
user_controller.rb file.
so i can add new field, just try with one field so i can se how it
works, after a some...
2006 Apr 14
1
SaltedHashLoginGenerator Integration Woes
...me in hours
4 :security_token_life_hours => 24,
5
6 # Two column form input
7 :two_column_input => true,
8
9 # Add all changeable user fields to this array.
10 # They will then be able to be edited from the edit action.
11 :changeable_fields => [ ''firstname'', ''lastname'',
''phonenumber'', ''faxnumber'', ''mobilenumber'', ''companyname'', ''email
address'', ''description'' ],
12
13 }
14...