live changes

This commit is contained in:
Mausern Testbruker committed 2011-08-17 18:10:42 +02:00
1 parent 95f8e11663
commit 9eecbcf993
7 files changed
+135 -40

No files matched your search

-14
View File
@@ -1003,20 +1003,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;
}