Skip to content
GitLab
Menu
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
beb43e05
Commit
beb43e05
authored
Nov 06, 2006
by
Nigel McNie
Committed by
Nigel McNie
Nov 06, 2006
Browse files
Fixed default for institution. Added all the user fields to the session.
parent
3c7e6aa1
Changes
2
Hide whitespace changes
Inline
Side-by-side
htdocs/auth/session.php
View file @
beb43e05
...
...
@@ -60,8 +60,17 @@ class Session {
'id'
=>
0
,
'username'
=>
''
,
'password'
=>
''
,
'institution'
=>
'mahara'
,
'passwordchange'
=>
false
,
'institution'
=>
'mahara'
'deleted'
=>
false
,
'expiry'
=>
0
,
'lastlogin'
=>
0
,
'staff'
=>
false
,
'admin'
=>
false
,
'firstname'
=>
''
,
'lastname'
=>
''
,
'prefname'
=>
''
,
'email'
=>
''
);
// Resume an existing session if required
if
(
isset
(
$_COOKIE
[
'PHPSESSID'
]))
{
...
...
htdocs/lib/db/install.xml
View file @
beb43e05
...
...
@@ -41,7 +41,7 @@
<FIELD
NAME=
"id"
TYPE=
"int"
LENGTH=
"10"
NOTNULL=
"true"
SEQUENCE=
"true"
/>
<FIELD
NAME=
"username"
TYPE=
"char"
LENGTH=
"30"
NOTNULL=
"true"
/>
<FIELD
NAME=
"password"
TYPE=
"char"
LENGTH=
"40"
NOTNULL=
"true"
/>
<FIELD
NAME=
"institution"
TYPE=
"char"
LENGTH=
"255"
NOTNULL=
"true"
/>
<FIELD
NAME=
"institution"
TYPE=
"char"
LENGTH=
"255"
NOTNULL=
"true"
DEFAULT=
"mahara"
/>
<FIELD
NAME=
"salt"
TYPE=
"char"
LENGTH=
"8"
/>
<FIELD
NAME=
"passwordchange"
TYPE=
"int"
LENGTH=
"1"
NOTNULL=
"true"
DEFAULT=
"0"
/>
<FIELD
NAME=
"deleted"
TYPE=
"int"
LENGTH=
"1"
NOTNULL=
"true"
DEFAULT=
"0"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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