diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2009-03-20 23:52:42 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2009-03-20 23:52:42 +0000 |
commit | e48cc150ec7db0758d8025c376288f36becbbb2f (patch) | |
tree | 4cbec59f5ae0cdfc68af1d619e2e5c4cbe1c27ad /app | |
parent | 40a039ce1cd9cf70525ccbe43f4e8418e74303ac (diff) | |
download | redmine-e48cc150ec7db0758d8025c376288f36becbbb2f.tar.gz redmine-e48cc150ec7db0758d8025c376288f36becbbb2f.zip |
Added a plugin hook for :controller_account_success_authentication_after
#3019
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2609 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/account_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/account_controller.rb b/app/controllers/account_controller.rb index 79d3041e1..1b3bf63eb 100644 --- a/app/controllers/account_controller.rb +++ b/app/controllers/account_controller.rb @@ -218,6 +218,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 |