Skip to content
Snippets Groups Projects
Commit 2705a5a5 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Merge remote-tracking branch 'origin/master'

parents d79e9514 8370adbe
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #990 passed
// $Id: emailval.js,v 1.7 2019/07/15 04:41:35 rswindell Exp $
/******************************************************************************* /*******************************************************************************
Originally based on: Originally based on:
FILE: emailval.js v0.2 FILE: emailval.js v0.2
...@@ -31,6 +31,8 @@ post-validation security levels. ...@@ -31,6 +31,8 @@ post-validation security levels.
restrictions_after_validation (default: no change) restrictions_after_validation (default: no change)
expiration_after_validation (default: false) expiration_after_validation (default: false)
expiration_days_after_validation (default: no change) expiration_days_after_validation (default: no change)
valid_chars=ACDEFHJKLMNPQRTUVWXY23456789!@#$%&*
code_length=16
Note: the flags, exemptions, and restrictions .ini values support 'A' through Note: the flags, exemptions, and restrictions .ini values support 'A' through
'Z' with the optional '+' (add) and '-' (remove) modifiers. 'Z' with the optional '+' (add) and '-' (remove) modifiers.
...@@ -65,9 +67,10 @@ if(options.level_after_validation === undefined) ...@@ -65,9 +67,10 @@ if(options.level_after_validation === undefined)
options.level_after_validation = 60; options.level_after_validation = 60;
//other constants, shouldn't need changing. //other constants, shouldn't need changing.
var cValChars='ACDEFHJKLMNPQRTUVWXY23456789!@#$%&*'; var cValChars = options.valid_chars !== undefined ? options.valid_chars :
'ACDEFHJKLMNPQRTUVWXY23456789!@#$%&*';
var cPrevalText = "telvalcode"; var cPrevalText = "telvalcode";
var cValCodeLen = 16; var cValCodeLen = options.code_length !== undefined ? options.code_length : 16;
//include SBBS Definition constants //include SBBS Definition constants
require("sbbsdefs.js", 'NET_NONE'); require("sbbsdefs.js", 'NET_NONE');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment