Project

General

Profile

Actions

Defect #8962

closed

Unknown variable or method salt when logging in

Added by Ivan Kanis over 13 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-08-01
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

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

Actions

Also available in: Atom PDF