Add Sendgrid integration (incoming email handling)
This commit is contained in:
@@ -150,6 +150,10 @@ class User extends Base
|
||||
*/
|
||||
public function getByEmail($email)
|
||||
{
|
||||
if (empty($email)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return $this->db->table(self::TABLE)->eq('email', $email)->findOne();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user