##// END OF EJS Templates
Added a plugin hook for :controller_account_success_authentication_after...
Eric Davis -
r2533:e48cc150ec7d
parent child
Show More
@@ -218,6 +218,7 class AccountController < ApplicationController
218 218 token = Token.create(:user => user, :action => 'autologin')
219 219 cookies[:autologin] = { :value => token.value, :expires => 1.year.from_now }
220 220 end
221 call_hook(:controller_account_success_authentication_after, {:user => user })
221 222 redirect_back_or_default :controller => 'my', :action => 'page'
222 223 end
223 224
General Comments 0
You need to be logged in to leave comments. Login now