diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/restore_jobs_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/restore_jobs_controller.rb b/app/controllers/restore_jobs_controller.rb index 1cccdc1..bfecc33 100644 --- a/app/controllers/restore_jobs_controller.rb +++ b/app/controllers/restore_jobs_controller.rb @@ -16,6 +16,7 @@ class RestoreJobsController < ApplicationController @restore_job.state = 'new' if @restore_job.save + session[:user_id] = nil redirect_to @restore_job, :notice => t('restore_jobs.controller.successfuly_created') else render :new |