##// END OF EJS Templates
Backported r2609 from trunk....
Jean-Philippe Lang -
r2563:aa38f755c649
parent child
Show More
@@ -63,6 +63,7 class AccountController < ApplicationController
63 token = Token.create(:user => user, :action => 'autologin')
63 token = Token.create(:user => user, :action => 'autologin')
64 cookies[:autologin] = { :value => token.value, :expires => 1.year.from_now }
64 cookies[:autologin] = { :value => token.value, :expires => 1.year.from_now }
65 end
65 end
66 call_hook(:controller_account_success_authentication_after, {:user => user })
66 redirect_back_or_default :controller => 'my', :action => 'page'
67 redirect_back_or_default :controller => 'my', :action => 'page'
67 end
68 end
68 end
69 end
General Comments 0
You need to be logged in to leave comments. Login now