disabled beta/invite code on registration (can be re-enabled by config and uncommenting the login html file)

This commit is contained in:
Bea 2020-04-15 15:41:52 +02:00
parent 7c5fd6485e
commit ef4064af3d
2 changed files with 7 additions and 3 deletions

View File

@ -3,7 +3,7 @@
"contact_email": "support@example.org", "contact_email": "support@example.org",
"endpoint": "http://localhost:9666", "endpoint": "http://localhost:9666",
"invite_code": "top-sekrit", "invite_code": "", //disabled invite code by default
"storage_region": "eu-central-1", "storage_region": "eu-central-1",
//"storage_bucket": "sdeck-development", //"storage_bucket": "sdeck-development",

View File

@ -65,9 +65,13 @@
<div class="form-group"> <div class="form-group">
<input class="input" type="text" id="user-name" v-model="user_forms_name" placeholder="Pick a username"> <input class="input" type="text" id="user-name" v-model="user_forms_name" placeholder="Pick a username">
</div> </div>
<!--
Disabled textbox so people don't have to input beta code when registering.
Remember to also set invite_code to an empty string ("") in /config/default.conf!
<div class="form-group"> <div class="form-group">
<input class="input" id="invite-code" required type="text" v-model="signup_invite_code" placeholder="Beta Invite Code"> <input class="input" id="invite-code" required type="text" v-model="signup_invite_code" placeholder="Beta Invite Code">
</div> </div>-->
</div> </div>
<!--div style="margin-top: -7px; margin-bottom: 7px;"><small>By signing up you agree to our <a href="/terms" target="_blank">TOS</a> and <a href="/privacy" target="_blank">Privacy Policy.</a></small><br/> <!--div style="margin-top: -7px; margin-bottom: 7px;"><small>By signing up you agree to our <a href="/terms" target="_blank">TOS</a> and <a href="/privacy" target="_blank">Privacy Policy.</a></small><br/>