mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-04 11:31:23 +01:00
closes #3926
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user