diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2011-06-03 11:22:40 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net ; true> | 2011-06-03 11:22:40 -0700 |
commit | 3d208242107b45c69fda6e0aca0286afa2203a46 (patch) | |
tree | 0640b37c0edd28fb23dfeaaf38a1df2aba4f2736 /htdocs | |
parent | 3ee5add5b0ba1550f4a153ff44775e8dd33d99ea (diff) |
Fixed bug in generatePassword()
Diffstat (limited to 'htdocs')
-rw-r--r-- | htdocs/src/User.inc.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/htdocs/src/User.inc.php b/htdocs/src/User.inc.php index 6ff367e..440a0f0 100644 --- a/htdocs/src/User.inc.php +++ b/htdocs/src/User.inc.php @@ -85,6 +85,7 @@ class User { $this->info['id'] = $ret; $this->indatabase = true; $this->sendNewPassword(); + $this->save(); // Could do this better... } return true; @@ -177,7 +178,7 @@ class User { $i++; } - $this->userinfo['password'] = sha1($password); + $this->info['password'] = sha1($password); return $password; } |