Commit 0e104d3e authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Revert not showing re-login form if the page is public - it doesn't give

very intuitive behaviour.
parent 03fcd5f5
...@@ -220,10 +220,8 @@ function auth_setup () { ...@@ -220,10 +220,8 @@ function auth_setup () {
log_debug('session timed out'); log_debug('session timed out');
$SESSION->logout(); $SESSION->logout();
$SESSION->add_info_msg(get_string('sessiontimedout')); $SESSION->add_info_msg(get_string('sessiontimedout'));
if (!defined('PUBLIC')) { auth_draw_login_page();
auth_draw_login_page(); exit;
exit;
}
} }
else { else {
// There is no session, so we check to see if one needs to be started. // There is no session, so we check to see if one needs to be started.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment