Browse Source

Hide the registration code part of the form

* Doesn't disable validation
* Discourages messing with the registration codes
master
Drew Short 5 years ago
parent
commit
ff9fbb484b
  1. 2
      templates/register.html

2
templates/register.html

@ -11,7 +11,7 @@
{{ form.username.label }} {{ form.username(size=20) }}
{{ form.password.label }} {{ form.password() }}
{{ form.confirm.label }} {{ form.confirm() }}
{{ form.registration_code.label }} {{ form.registration_code() }}
<input type="hidden" name="registration_code" value="{{ form.registration_code.data }}"/>
<div class="formSubmit">
<input type="submit" value="Register">
</div>

Loading…
Cancel
Save