change the registration process to email a random password due to recent abuse

This commit is contained in:
Jeff Zaroyko
2008-06-16 12:57:55 +10:00
committed by Chris Morgan
parent 7619dc2122
commit 7b26438a58
3 changed files with 5 additions and 24 deletions

View File

@@ -173,6 +173,7 @@ class User {
$retval = $this->login($sEmail, $sPassword);
if($retval == SUCCESS)
$this->setPref("comments:mode", "threaded"); /* set the users default comments:mode to threaded */
$this->logout();
return $retval;
}