mirror of
https://bitbucket.org/jsuto/piler.git
synced 2026-10-01 13:50:20 +02:00
fixed an imap auth related bug
This commit is contained in:
1 parent
07c8a15400
commit
2d3be5a92c
2 files changed
+3
-3
No files matched your search
@@ -129,7 +129,7 @@ class ModelUserAuth extends Model {
|
||||
|
||||
$uid = $this->model_user_user->get_uid_by_email($email);
|
||||
if($uid < 1) {
|
||||
$uid = $this->model_user_user->get_next_uid();
|
||||
$uid = $this->model_user_user->get_next_uid(TABLE_EMAIL);
|
||||
$query = $this->db->query("INSERT INTO " . TABLE_EMAIL . " (uid, email) VALUES(?,?)", array($uid, $email));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user