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
01d99d86
Commit
01d99d86
authored
Dec 01, 2006
by
Nigel McNie
Committed by
Nigel McNie
Dec 01, 2006
Browse files
Removed some debugging lines that aren't needed right now.
parent
f44891f7
Changes
1
Show whitespace changes
Inline
Side-by-side
htdocs/auth/lib.php
View file @
01d99d86
...
...
@@ -117,7 +117,6 @@ function auth_setup () {
// If the system is not installed, let the user through in the hope that
// they can fix this little problem :)
log_debug
(
'auth_setup()'
);
if
(
!
get_config
(
'installed'
))
{
log_debug
(
'system not installed, letting user through'
);
$USER
->
logout
();
...
...
@@ -127,7 +126,6 @@ function auth_setup () {
// Check the time that the session is set to log out. If the user does
// not have a session, this time will be 0.
$sessionlogouttime
=
$USER
->
get
(
'logout_time'
);
log_debug
(
"logout time:
$sessionlogouttime
"
);
if
(
$sessionlogouttime
&&
isset
(
$_GET
[
'logout'
]))
{
log_debug
(
"logging user out"
);
$USER
->
logout
();
...
...
@@ -160,10 +158,8 @@ function auth_setup () {
redirect
(
get_config
(
'wwwroot'
));
}
}
log_debug
(
"renewing user's session"
);
$USER
->
renew
();
auth_check_password_change
();
//return $USER;
}
else
if
(
$sessionlogouttime
>
0
)
{
// The session timed out
...
...
Write
Preview
Supports
Markdown
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