Permalink
Browse files

Seems params have reverted after rails 3.1 upgrade on ffcrm.

  • Loading branch information...
1 parent 7048e51 commit d19cc56294beca4e0cc831d1230d88b6671c5871 @steveyken steveyken committed Nov 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/crm_crowd/controllers.rb
@@ -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))

0 comments on commit d19cc56

Please sign in to comment.