mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Disable authentication if the user type is set to virtual.
This commit is contained in:
@@ -132,6 +132,7 @@ class plugin_email {
|
||||
$sql .= "and domain_uuid = :domain_uuid ";
|
||||
$parameters['domain_uuid'] = $_SESSION["domain_uuid"];
|
||||
}
|
||||
$sql .= "and user_type = 'default' ";
|
||||
$parameters['username'] = $_REQUEST['username'];
|
||||
$database = new database;
|
||||
$row = $database->select($sql, $parameters, 'row');
|
||||
|
||||
Reference in New Issue
Block a user