Merge pull request #6983 from opf/fix/redirect-controller-namespace

Redirect to correct controller

[ci skip]
pull/6990/head
Oliver Günther 6 years ago committed by GitHub
commit 0921669619
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/controllers/application_controller.rb

@ -648,7 +648,7 @@ class ApplicationController < ActionController::Base
self.logged_user = nil
flash[:warning] = I18n.t('notice_forced_logout', ttl_time: Setting.session_ttl)
redirect_to(controller: 'account', action: 'login', back_url: login_back_url)
redirect_to(controller: '/account', action: 'login', back_url: login_back_url)
end
session[:updated_at] = Time.now
end

Loading…
Cancel
Save