diff options
| author | Sadie Powell <sadie@witchery.services> | 2024-03-14 22:51:24 +0000 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2024-03-14 23:10:53 +0000 |
| commit | 4e9d1835232552a1b86d8666e7e7265ce09cbc6a (patch) | |
| tree | de02d421cf7bd7c9b28f7d81dcc12279905a4790 /modules/webcpanel/templates/default | |
| parent | 074dfb63a76efb905ad8592502585309299583dd (diff) | |
Restore some functionality that was removed in an earlier commit.
Diffstat (limited to 'modules/webcpanel/templates/default')
| -rw-r--r-- | modules/webcpanel/templates/default/register.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/webcpanel/templates/default/register.html b/modules/webcpanel/templates/default/register.html index 311b94cf5..e71d763f6 100644 --- a/modules/webcpanel/templates/default/register.html +++ b/modules/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: 15px;"> + {END IF} + <button class="btn btn-lg btn-warning btn-block" type="submit">Register</button> </form> </div> |
