mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:17:02 +02:00
fixed an imap auth related bug
This commit is contained in:
@ -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