When the ajax request receives a 401 response code, it should reload the entire page

If user click on “attachment” or “comment” (an ajax request) When authentication is expired . XWiki is not show the login page on grobal web page. but on Small area.
image
How to configure or fix it?
Thanks!

There’s no easy fix or configuration. You should report a bug. The JavaScript code that makes the AJAX request should probably reload the entire page when it receives a 401 response code.

@wuguokai Would be great if you could edit this thread’s title to make it more understandable when reading it and more to the point about the issue you’re facing… :wink: Thx!