merged with live

This commit is contained in:
oyvinbak committed 2011-08-17 18:15:37 +02:00
commit f39f8b88ce
7 files changed
+135 -40

No files matched your search

-14
View File
@@ -998,20 +998,6 @@ private function logError($username, $error)
}
protected function verifyActivationCode($id, $password) {
/* $msa_code = new MembershipActivationCode();
if ($msa_code->findById($id)) {
if (!is_null($msa_code->getUsed())) {
// code has been used allready, and is therefore illegal
return null;
}
if (trim($password) == $msa_code->getCode()) {
// valid password, return object
return $msa_code;
}
}
*/
return true;
if (checkPassword($id, $password)) {
return true;
}