Previously we displayed an error in this case.
Fixes
https://bugzilla.redhat.com/show_bug.cgi?id=798259
---
src/app/controllers/application_controller.rb | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/app/controllers/application_controller.rb
b/src/app/controllers/application_controller.rb
index be2ded3..4c3347f 100644
--- a/src/app/controllers/application_controller.rb
+++ b/src/app/controllers/application_controller.rb
@@ -188,6 +188,7 @@ class ApplicationController < ActionController::Base
flash[:notice] = t('application_controller.flash.notice.must_be_logged')
redirect_to login_url
end
+ format.js { head :unauthorized }
format.xml { head :unauthorized }
format.json { head :unauthorized }
end
--
1.7.6.5