1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00

Merge pull request #3007 from Deltik/fix-3006

Fixes: #3006 Allow spaces in passwords system-wide by default
This commit is contained in:
Cameron 2018-01-24 12:55:35 -08:00 committed by GitHub
commit c4e3fdb515
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1798,7 +1798,7 @@ class e_form
$addon .= "<div style='margin-top:4px'><div class='progress' style='float:left;display:inline-block;width:218px;margin-bottom:0'><div class='progress-bar bar' id='pwdMeter' style='width:0%' ></div></div> <div id='pwdStatus' class='smalltext' style='float:left;display:inline-block;width:150px;margin-left:5px'></span></div>";
}
$options['pattern'] = vartrue($options['pattern'],'[\S]{4,}');
$options['pattern'] = vartrue($options['pattern'],'[\S].{2,}[\S]');
$options['required'] = varset($options['required'], 1);
$options['class'] = vartrue($options['class'],'e-password tbox');