Bug #1699
closedCB User Management always asks for 6 character password independantly of setting
Description
Even if I change minimum password length to 4 in CB Password field the backend javascript still looks for 6 chars.
Frontend works ok.
[6:53:11 μμ] Beat: well, not really a bug
[6:53:25 μμ] Beat: we added the setting for password length in cb 1.2.2 i believe
[6:53:30 μμ] Beat: before that it was always 6
[6:53:42 μμ] Beat: as required by mambo/joomla
[6:53:53 μμ] Nicholas G. Antimisiaris: ok - well there is a bug now then
[6:55:17 μμ] Beat: in admin.comprofiler.html.php
[6:55:18 μμ] Beat: line 2222
[6:55:18 μμ] Beat: if ((me['password'].value) && (me['password'].value.length < 6)) {
[6:55:42 μμ] Beat: you need to have _CB_VALIDATE_NEW not defined
[6:56:14 μμ] Beat: but you have defined it only in frontend, so it should be ok
[6:56:38 μμ] Nicholas G. Antimisiaris: so how should i reply?
[6:57:00 μμ] Beat: this part:
[6:57:00 μμ] Beat: if ((me['password'].value) && (me['password'].value.length < 6)) {
errorMSG += "\n";
me['password'].style.backgroundColor = "red";
iserror=1;
} else
[6:57:08 μμ] Beat: should be removed
[6:57:24 μμ] Beat: for it to work (without checking password length in backend)
[6:57:34 μμ] Beat: please try
Updated by beat over 14 years ago
- Assignee set to beat
- Target version set to CB 1.2.3
- Estimated time set to 0:12 h
Updated by beat over 14 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
committed in r994 .
Updated by krileon over 14 years ago
Confirmed fixed, error message is properly reflecting minimum length on backend and frontend.
Updated by beat over 14 years ago
- Subject changed from CB User Management always asks for 6 character password to CB User Management always asks for 6 character password independantly of setting