summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorSheogorath2017-01-12 04:25:58 +0100
committerSheogorath2017-01-12 13:54:45 +0100
commit747629e549fb5c32e1acf18e24bfc6a7e1cd5b0c (patch)
treec4861ce189556858a88a9d2843addcc84ae77eb8 /public
parenta8068d38d589a1b8ed008f737d42ed35df4bfd2b (diff)
Add `allowemailregister` option
Diffstat (limited to 'public')
-rw-r--r--public/views/signin-modal.ejs2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/views/signin-modal.ejs b/public/views/signin-modal.ejs
index e9c54b33..a8af62e7 100644
--- a/public/views/signin-modal.ejs
+++ b/public/views/signin-modal.ejs
@@ -84,7 +84,7 @@
<div class="form-group">
<div class="col-sm-12">
<button type="submit" class="btn btn-primary" formaction="<%- url %>/login">Sign in</button>
- <button type="submit" class="btn btn-default" formaction="<%- url %>/register">Register</button>
+ <% if(allowemailregister) { %><button type="submit" class="btn btn-default" formaction="<%- url %>/register">Register</button><% }%>
</div>
</div>
</form>