diff options
author | Malf Furious <m@lfurio.us> | 2017-04-09 23:39:33 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2017-04-09 23:39:33 -0400 |
commit | 3b47c5f3876b8c46d199c615e95fe671293be7b7 (patch) | |
tree | ea6e3f0645bc9bdab888b5871bab82aff0a1db9d /app/class/user.class.php | |
parent | cc1f573a276bd5f022831f837bb9c1234df56ad9 (diff) | |
parent | 003f48ae880ad61eec65d9816d485457c45c4b11 (diff) | |
download | scrott-3b47c5f3876b8c46d199c615e95fe671293be7b7.tar.gz scrott-3b47c5f3876b8c46d199c615e95fe671293be7b7.zip |
Merge branch 'bug/saveObj' into dev
Diffstat (limited to '')
-rw-r--r-- | app/class/user.class.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/class/user.class.php b/app/class/user.class.php index 97309f8..a6addf6 100644 --- a/app/class/user.class.php +++ b/app/class/user.class.php @@ -194,6 +194,7 @@ class user extends agent $user->setPasswd($passwd); $user->setEmail(""); $user->reg = 1; + $user->saveObj(); return $user; } @@ -224,6 +225,7 @@ class user extends agent { $this->salt = self::getBlob(); $this->auth = self::getAuth($passwd, $this->salt); + $this->saveObj(); } /* @@ -237,6 +239,7 @@ class user extends agent return false; $this->emailConf = 1; + $this->saveObj(); return true; } @@ -249,6 +252,7 @@ class user extends agent $this->email = $email; $this->emailVer = substr(self::getBlob(), 0, 8); $this->emailConf = 0; + $this->saveObj(); } /* |