summaryrefslogtreecommitdiff
path: root/modules/extra/webcpanel/templates/default/register.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra/webcpanel/templates/default/register.html')
-rw-r--r--modules/extra/webcpanel/templates/default/register.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/extra/webcpanel/templates/default/register.html b/modules/extra/webcpanel/templates/default/register.html
index 821911b9b..bebf4e276 100644
--- a/modules/extra/webcpanel/templates/default/register.html
+++ b/modules/extra/webcpanel/templates/default/register.html
@@ -34,8 +34,16 @@
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: 10px; border-top-left-radius: 0; border-top-right-radius: 0;">
+ style="margin-bottom: 15px;">
+ {END IF}
+
<button class="btn btn-lg btn-warning btn-block" type="submit">Register</button>
</form>
</div>