diff --git a/includes/signup.php b/includes/signup.php index c619c81..768ccfd 100644 --- a/includes/signup.php +++ b/includes/signup.php @@ -12,6 +12,9 @@ $tv = $_GET['tv']; // username passed lowercased $username = strtolower($username); +// strip new line characters from the end +$pubkey = trim($pubkey); + $from = 'From: www-data '; $destination_addr = "newuser@thunix.net"; $subject = "New User Registration";