Project

General

Profile

Actions

Bug #1699

closed

CB User Management always asks for 6 character password independantly of setting

Added by nant almost 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
23 May 2010
Due date:
% Done:

100%

Estimated time:
0:12 h

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

Actions #1

Updated by beat almost 14 years ago

  • Assignee set to beat
  • Target version set to CB 1.2.3
  • Estimated time set to 0:12 h
Actions #2

Updated by beat almost 14 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

committed in r994 .

Actions #3

Updated by krileon almost 14 years ago

Confirmed fixed, error message is properly reflecting minimum length on backend and frontend.

Actions #4

Updated by beat almost 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
Actions

Also available in: Atom PDF