ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

account_controller.patch

Robert Chady, 2011-03-29 10:50 pm

Download (557 Bytes)

 
b/app/controllers/account_controller.rb
67 67
        if token.save
68 68
          Mailer.deliver_lost_password(token)
69 69
          flash[:notice] = l(:notice_account_lost_email_sent)
70
          redirect_to :action => 'login'
70
          redirect_to :action => 'login', :back_url => home_url
71 71
          return
72 72
        end
73 73
      end