mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
mlanthaler: Fixes problem that the login form tab is not shown when the (unneeded) BackURL parameter is used (see http://support.silverstripe.com/gsoc/ticket/23 for details).
(merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41892 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
31a9fbee3c
commit
e741ecd2f8
@ -733,7 +733,7 @@ showResponseAsSuccessMessage = function(response) {
|
||||
*/
|
||||
function onSessionLost() {
|
||||
alert("You've been logged out of the server, so we're going to send you back to the log-in screen.");
|
||||
window.location.href = baseHref() + 'Security/login?BackURL=' + encodeURIComponent(window.location.href);
|
||||
window.location.reload(true);
|
||||
}
|
||||
|
||||
var _CURRENT_CONTEXT_MENU = null;
|
||||
|
Loading…
Reference in New Issue
Block a user