So, I know how to add the field into the form I just can't get it to take the secret code and evaluate it.
Files that I understand to be essential in doing this:
/components/com_users/views/registration/tmpl/default.php
/components/com_users/controllers/registration.php
/components/com_users/models/registration.php
/components/com_users/models/forms/registration.xml
If I'm not mistaken all I need to find out is where to drop a
if( $data['secretcode'] != 'code phrase') {
return false;
}