Add Postmark integration (inbound emails for task creation)
This commit is contained in:
@@ -141,6 +141,18 @@ class User extends Base
|
||||
return $this->db->table(self::TABLE)->eq('username', $username)->findOne();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a specific user by the email address
|
||||
*
|
||||
* @access public
|
||||
* @param string $email Email
|
||||
* @return array
|
||||
*/
|
||||
public function getByEmail($email)
|
||||
{
|
||||
return $this->db->table(self::TABLE)->eq('email', $email)->findOne();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all users
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user