MDL-42816 auth_manual: Add password expiry for manual auth method

This commit is contained in:
Gilles-Philippe Leblanc
2014-03-27 10:45:01 -04:00
parent ad32dda90c
commit 2d35b7d3d8
7 changed files with 309 additions and 6 deletions
+4 -1
View File
@@ -226,7 +226,10 @@ EOD;
$record['deleted'] = 0;
}
$record['timecreated'] = time();
if (!isset($record['timecreated'])) {
$record['timecreated'] = time();
}
$record['timemodified'] = $record['timecreated'];
$record['lastip'] = '0.0.0.0';