Defect #8962
closedUnknown variable or method salt when logging in
0%
Description
I am upgrading from version 1.0.3 to 1.2.1 on Debian 6.0. When I try to login I get the following error:
NameError (undefined local variable or method `salt' for #<User:0x7f029e2110b8>):
app/models/user.rb:220:in `check_password?'
app/models/user.rb:136:in `try_to_login'
app/controllers/account_controller.rb:147:in `password_authentication'
app/controllers/account_controller.rb:142:in `authenticate_user'
app/controllers/account_controller.rb:30:in `login'
Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.3.7
Rack version 1.1.1
Rails version 2.3.11
Active Record version 2.3.11
Active Resource version 2.3.11
Action Mailer version 2.3.11
Active Support version 2.3.11
Edge Rails revision unknown
Application root /home/ivan/tmp/redmine-1.2.1
Environment production
Database adapter mysql
Database schema version 20110511000000