projects
/
atutor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a020ddf
)
http://atutor.ca/atutor/mantis/view.php?id=4571
author
harris wong
<hwong@ocad.ca>
Mon, 20 Dec 2010 20:34:20 +0000
(20:34 -0000)
committer
harris wong
<hwong@ocad.ca>
Mon, 20 Dec 2010 20:34:20 +0000
(20:34 -0000)
docs/login.php
patch
|
blob
|
history
diff --git
a/docs/login.php
b/docs/login.php
index
2bcaf2e
..
6de26e3
100644
(file)
--- a/
docs/login.php
+++ b/
docs/login.php
@@
-142,7
+142,8
@@
if (isset($this_login, $this_password)) {
}
$_SESSION['first_login'] = false;
- if ($row['last_login'] == null || $row['last_login'] == '' || $row['last_login'] == '0000-00-00 00:00:00') {
+ if ($row['last_login'] == null || $row['last_login'] == '' || $row['last_login'] == '0000-00-00 00:00:00'
+ || $_config['pref_defaults'] == $row['preferences']) {
$_SESSION['first_login'] = true;
}