mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Special charaters are allowed in passwords, namely, $!/()=?^*@_
This commit is contained in:
parent
f155d62d1d
commit
3d2df7e64e
4 changed files with 14 additions and 8 deletions
|
|
@ -77,7 +77,8 @@ print [[
|
|||
</form>
|
||||
<script>
|
||||
|
||||
function isValid(str) { return /^\w+$/.test(str); }
|
||||
function isValid(str) { /* return /^[\w%]+$/.test(str); */ return true; }
|
||||
function isValidPassword(str) { return /^[\w\$\\!\/\(\)\=\?\^\*@_]{1,}$/.test(str); }
|
||||
|
||||
var frmadduser = $('#form_add_user');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue