Project

General

Profile

Patch #3019 ยป patch.txt

Brad Beattie, 2009-03-20 18:39

 
1
Index: app/controllers/account_controller.rb
2
===================================================================
3
--- app/controllers/account_controller.rb	(revision 2608)
4
+++ app/controllers/account_controller.rb	(working copy)
5
@@ -218,6 +218,7 @@
6
       token = Token.create(:user => user, :action => 'autologin')
7
       cookies[:autologin] = { :value => token.value, :expires => 1.year.from_now }
8
     end
9
+    call_hook(:after_successful_authentication, { :user => user })
10
     redirect_back_or_default :controller => 'my', :action => 'page'
11
   end
12
 
    (1-1/1)