Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/cydrobolt/polr.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgurgeng <grigory3@msu.edu>2017-03-25 05:57:31 +0300
committerChaoyi Zha <summermontreal@gmail.com>2017-03-25 23:04:01 +0300
commit44f69c3910e79012e4f242b76e72aaa9ca046763 (patch)
tree58706c1b4afdbdf5a9ab46c920f323a01f7eb950 /resources
parentb0b690839d5608ea29731c0686c85ddf514ebb98 (diff)
Add initial implementation of registration email restrictions
Diffstat (limited to 'resources')
-rw-r--r--resources/views/setup.blade.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/resources/views/setup.blade.php b/resources/views/setup.blade.php
index 4115a69..d0a2b40 100644
--- a/resources/views/setup.blade.php
+++ b/resources/views/setup.blade.php
@@ -175,6 +175,22 @@ Setup
</select>
<p>
+ Specify Email Domain:
+ <button data-content="Specifying the email will allow you to limit who is able to register." type="button" class="btn btn-xs btn-default setup-qmark" data-toggle="popover">?</button>
+ </p>
+ <select name='setting:specify_email' class='form-control'>
+ <option value='false'>Specify email disabled</option>
+ <option value='true'>Specify email enabled</option>
+ </select>
+ <p class='text-muted'>
+ Please ensure if you choose to limit to a specific email domain that the domain is properly setup.
+ </p>
+ <p>
+ Email Domain:
+ <button data-content="Enter the domain of the emails you'd like to be able to register." type="button" class="btn btn-xs btn-default setup-qmark" data-toggle="popover">?</button>
+ </p>
+ <input type='text' class='form-control' name='setting:allowed_email_domains' placeholder='gmail.com'>
+ <p>
Password Recovery:
<button data-content="Password recovery allows users to reset their password through email." type="button" class="btn btn-xs btn-default setup-qmark" data-toggle="popover">?</button>
</p>