Commit 6395fd7a authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie

Added some more data to the defaults, and by proxy, to the things that the

session object stores.
parent 5e826945
......@@ -56,8 +56,10 @@ class Session {
*/
public function __construct() {
$this->defaults = array(
'logout_time' => 0,
'username' => ''
'logout_time' => 0,
'username' => '',
'passwordchange' => false,
'institution' => 'mahara'
);
// Resume an existing session if required
if (isset($_COOKIE['PHPSESSID'])) {
......
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