Skip to content

Commit

Permalink
Redid the spamtest bodge properly
Browse files Browse the repository at this point in the history
  • Loading branch information
padski committed Aug 11, 2023
1 parent 1637234 commit 7803dfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion london.hackspace.org.uk/signup.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
if (preg_match('/(bitcoin|btc)/', $_POST['fullname'])) {
throw new fValidationException('Shilling your name is not a good idea');
}
if (!in_array(strtolower(trim($_POST['spam_challenge'])), array('high road', 'high rd'))) {
if (!in_array(strtolower(trim($_POST['spam_challenge'])), array('standard', 'standard road', 'standard rd'))) {
throw new fValidationException('Incorrect spam challenge');
}
$user = new User();
Expand Down

0 comments on commit 7803dfb

Please sign in to comment.