summaryrefslogtreecommitdiff
path: root/modules/webcpanel/templates
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-03-07 21:40:52 +0000
committerSadie Powell <sadie@witchery.services>2024-03-07 22:25:32 +0000
commit3272c1bbc65eaa29ba63e176ec76702c5b21d367 (patch)
tree9dda1773c1e7554787cce21794dbb4249ea51dd3 /modules/webcpanel/templates
parent307ffea9517fa2b05fa04e7e89b0d4435191bf4f (diff)
Require new accounts to have email addresses.
Diffstat (limited to 'modules/webcpanel/templates')
-rw-r--r--modules/webcpanel/templates/default/register.html8
1 files changed, 0 insertions, 8 deletions
diff --git a/modules/webcpanel/templates/default/register.html b/modules/webcpanel/templates/default/register.html
index e71d763f6..311b94cf5 100644
--- a/modules/webcpanel/templates/default/register.html
+++ b/modules/webcpanel/templates/default/register.html
@@ -34,16 +34,8 @@
style="margin-bottom: -1px; border-bottom-left-radius: 0; border-bottom-right-radius: 0;">
<input type="password" name="password" class="form-control" placeholder="Password" required="required"
style="margin-bottom: -1px; border-radius: 0;">
-
- {IF EXISTS FORCE_EMAIL}
<input type="email" name="email" class="form-control" placeholder="Email" required="required"
style="margin-bottom: 15px; border-top-left-radius: 0; border-top-right-radius: 0;">
- {ELSE}
- <h4>Optional</h4>
- <input type="email" name="email" class="form-control" placeholder="Email"
- style="margin-bottom: 15px;">
- {END IF}
-
<button class="btn btn-lg btn-warning btn-block" type="submit">Register</button>
</form>
</div>