Greg,
We went to the sha-1factory.js file and found the code that was controlling the pw complexity. Looked like it was going to be a pretty easy edit and we'd be done.
To test it out, we made just a simple modification to change the min length from 8 to 14.
When we went to test it, the old 8 character length was enforced, but not the 14.
We then removed that .js file from the ATutor directory expecting the registration to error out when submitted, but it did not - it functioned normally. When viewing the page source, it was still calling sha-1factory.js and apparently still finding it even though it was no longer there.
When viewing the registration.php source code, we clicked on the link for that .js file and it opened up. The URL in the title bar showed http://10.3.20.25/ATutor/sha-1factory.js but that file is not there any more. When viewing the content of the .js file that came up in the window, it still showed min length was 8 (not 14, which we had changed it to).
I dumped my web cache, closed my Firefox browser, tried it again and got the same results.
Summary - the registration.php page appears to be calling the file you referred to, and enforcing based on that file in it's original state, but we think we edited that file and moved it so we are a bit baffled about where registration.php is finding sha-1factory.js.
Any ideas about what might be happening and what we need to do to successfully modify the pw complexity requirements? FYI - there is another product competing for this "business" here, and believe it or not, this pw complexity is one of the more significant issues to the decision makers. The competitor product allows for the administrator to easily specify pw complexity rules. If I can't implement this enhanced complexity here, it could jeopardize the continued use of this system which would be unfortunate, because I think ATutor is better.
Any guidance would be much appreciated . . .
Bryan
Things to describe:
Operating system ATutor is installed on - Ubuntu Svr
ATutor version - 2.0.1
Patch #s applied - None
ATutor theme name - ATutor (standard)
PHP version - 5
MySQL version - 5
Webserver & version - Apache
Copies of error messages -
Changes to default settings -
Web browser being used - Firefox 3.6.12