mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
fix details around logging of new domain-validator
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
391d838416
commit
1b1626fe56
2 changed files with 3 additions and 2 deletions
|
|
@ -13,5 +13,6 @@ if (strpos($domain, '.') === false) {
|
|||
} elseif (filter_var($domain, FILTER_VALIDATE_IP)) {
|
||||
http_response_code(400);
|
||||
} else {
|
||||
error_log($domain . ' was accepted as valid domain.');
|
||||
http_response_code(200);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue