diff --git a/app/controllers/account_controller.rb b/app/controllers/account_controller.rb index fe44740a4..591093870 100644 --- a/app/controllers/account_controller.rb +++ b/app/controllers/account_controller.rb @@ -63,6 +63,7 @@ class AccountController < ApplicationController token = Token.create(:user => user, :action => 'autologin') cookies[:autologin] = { :value => token.value, :expires => 1.year.from_now } end + call_hook(:controller_account_success_authentication_after, {:user => user }) redirect_back_or_default :controller => 'my', :action => 'page' end end