Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
4192f7e2
Commit
4192f7e2
authored
Nov 06, 2006
by
Nigel McNie
Committed by
Nigel McNie
Nov 06, 2006
Browse files
Added 'id' to the defaults list so it gets included in the session. Useful
for checking whether a user's account has been suspended.
parent
f3b262cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/auth/session.php
View file @
4192f7e2
...
...
@@ -57,9 +57,10 @@ class Session {
public
function
__construct
()
{
$this
->
defaults
=
array
(
'logout_time'
=>
0
,
'id'
=>
0
,
'username'
=>
''
,
'passwordchange'
=>
false
,
'institution'
=>
'mahara'
'institution'
=>
'mahara'
);
// Resume an existing session if required
if
(
isset
(
$_COOKIE
[
'PHPSESSID'
]))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment