Skip to content

Commit

Permalink
Seems params have reverted after rails 3.1 upgrade on ffcrm.
Browse files Browse the repository at this point in the history
  • Loading branch information
steveyken committed Nov 29, 2011
1 parent 7048e51 commit d19cc56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/crm_crowd/controllers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def current_user

def create
@current_user_session, @current_user = nil, nil
if crowd_authenticate(params[:authentication][:username], params[:authentication][:password])
if crowd_authenticate(params[:username], params[:password])
flash[:notice] = t(:msg_welcome)
if current_user.login_count > 1 && current_user.last_login_at?
flash[:notice] << " " << t(:msg_last_login, l(current_user.last_login_at, :format => :mmddhhss))
Expand Down

0 comments on commit d19cc56

Please sign in to comment.