Allow empty socket (bug #1452142).
This commit is contained in:
@@ -1224,10 +1224,6 @@ switch ($action) {
|
||||
message('error', 'Empty hostname!');
|
||||
$err = TRUE;
|
||||
}
|
||||
if ($new_server['connect_type'] == 'socket' && empty($new_server['socket'])) {
|
||||
message('error', 'Empty socket with socket connection seleted!');
|
||||
$err = TRUE;
|
||||
}
|
||||
if ($new_server['auth_type'] == 'config' && empty($new_server['user'])) {
|
||||
message('error', 'Empty username while using config authentication method!');
|
||||
$err = TRUE;
|
||||
|
Reference in New Issue
Block a user