added message for expired sessions
This commit is contained in:
parent
f1986c3cd1
commit
8176cdccac
|
@ -121,6 +121,7 @@ function logoffAndBackToLoginPage() {
|
|||
break;
|
||||
}
|
||||
}
|
||||
$page .= "?expired=yes";
|
||||
echo $_SESSION['header'];
|
||||
echo "<title></title>\n";
|
||||
echo "</head>\n";
|
||||
|
|
|
@ -187,6 +187,11 @@ function display_LoginPage($config_object) {
|
|||
echo "<br>";
|
||||
}
|
||||
}
|
||||
// check if session expired
|
||||
if (isset($_GET['expired'])) {
|
||||
StatusMessage("ERROR", _("Your session expired, please log in again."));
|
||||
echo "<br>";
|
||||
}
|
||||
?>
|
||||
<table width="650" align="center" border="2" rules="none" bgcolor="white">
|
||||
<tr>
|
||||
|
|
Loading…
Reference in New Issue