v1.18.x
Julian Lam 9 years ago
parent bc199d6872
commit 7d9136f655

@ -32,7 +32,7 @@ var async = require('async'),
var confirm_code = utils.generateUUID(),
confirm_link = nconf.get('url') + '/confirm/' + confirm_code;
var emailInterval = 10;
var emailInterval = meta.config.hasOwnProperty('emailConfirmInterval') ? parseInt(meta.config.emailConfirmInterval, 10) : 10;
async.waterfall([
function(next) {

@ -18,6 +18,12 @@
</label>
</div>
<div class="form-group form-inline">
<label for="emailConfirmInterval">User may not resend a confirmation email until</label>
<input class="form-control" data-field="emailConfirmInterval" type="number" id="emailConfirmInterval" placeholder="Default: 10" value="10" />
<label for="emailConfirmInterval">minutes have elapsed</label>
</div>
<div class="form-group">
<label>Allow login with</label>
<select class="form-control" data-field="allowLoginWith">

Loading…
Cancel
Save