The number count in a password is rated using this piece of code in lib/tiki-js.js:
// Numbers
var nNumberCount = countContain(strPassword, m_strNumber);
// — 1 number
if (nNumberCount == 1)
{
nScore += 10;
}
// — 3 or more numbers
if (nNumberCount >= 3)
{
nScore += 20;
}
This causes a password with 1 number to get 10 points extra, a password with 2 numbers extra points, and a password with 3 or more numbers 20 extra points.
Better change it into something like this:
// Numbers
var nNumberCount = countContain(strPassword, m_strNumber);
// — 1 number
if (nNumberCount > 0)
{
nScore += 10;
}
// — 3 or more numbers
if (nNumberCount >= 3)
{
nScore += 10;
}
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |