Update index.php
This commit is contained in:
parent
e7f3446506
commit
ff2e437138
|
@ -11,7 +11,7 @@ if (isset($_GET['random'])) {
|
|||
header("location: ?address=$username@$domain");
|
||||
die();
|
||||
} elseif (!isset($_GET['address'])) {
|
||||
error(400, 'invalid action');
|
||||
redirect_to_random($config['domains']);
|
||||
} else {
|
||||
// perform common validation:
|
||||
$address = filter_input(INPUT_GET, 'address', FILTER_SANITIZE_EMAIL);
|
||||
|
|
Loading…
Reference in New Issue
Block a user