chiark / gitweb /
Add quiz question to new registrations main
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 6 Jun 2023 19:49:56 +0000 (20:49 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 6 Jun 2023 19:52:13 +0000 (20:52 +0100)
bcp5-registry.pl
template.html

index 5447771e9bf522e78c9e8baa13fcbeb326f627d7..48047dc82dd4c66e0fdd3327febfec5231a9eba6 100755 (executable)
@@ -187,7 +187,8 @@ if ($invokestyle eq 'maintain') {
     exit 0;
 
 } elsif (length $in{'register'}) {
-    
+
+    quiz_check_answer();
     lock_database();
     read_database();
     
index f70e63e7e270dd9c8960aad5202b86cd309ddb9c..461b4eb6dbc1cc14fa9d55751b496c03fbc2e348 100644 (file)
@@ -377,6 +377,7 @@ Hide email address from public database.
 <br>
 
 @@@if:registernew|picked@@@
+@@@quiz_question_input@@@
 <input type=submit name="register" value="Register.">
 @@@endif:@@@