diff options
-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; } |