Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master-2.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
dregad committed May 28, 2017
2 parents d3d5ddc + 38c0bf3 commit 6b60e57
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion logout_page.php
Expand Up @@ -32,6 +32,9 @@
require_api( 'config_api.php' );
require_api( 'print_api.php' );

# Cache the current logout redirect page as it will be cleared by auth_logout()
$t_logout_redirect = auth_logout_redirect_page();

auth_logout();

print_header_redirect( auth_logout_redirect_page(), true, false );
print_header_redirect( $t_logout_redirect, true, false );

0 comments on commit 6b60e57

Please sign in to comment.