by mikenol » Thu Jul 11, 2013 4:10 pm
I started over installing testlink and changed the "login varchar(30) NOT NULL" in install/sql/mssql/testlink_create_tables.sql to "login varchar(50) NOT NULL" so the database would be correct.
I then hunted around and found and changed the following...
lib\functions\tlUser.class.php:
$this->maxLoginLength = 30; -> $this->maxLoginLength = 50;
lib\usermanagement\usersEdit.php:
"login" => array(tlInputParameter::STRING_N,0,30), -> "login" => array(tlInputParameter::STRING_N,0,50),
firstLogin.php:
"login" => array(tlInputParameter::STRING_N,0,30), -> "login" => array(tlInputParameter::STRING_N,0,50),
login.php:
"tl_login" => array(tlInputParameter::STRING_N,0,30), -> "tl_login" => array(tlInputParameter::STRING_N,0,50),
lostPassword.php:
$iParams = array("login" => array(tlInputParameter::STRING_N,0,30)); -> $iParams = array("login" => array(tlInputParameter::STRING_N,0,50));
Still no joy. The "Login Name" field on the all three pages (main, new user, lost password) still only allows 30 characters. Really thought all of that was going to work.
Anyone have any ideas on what else to try?
Mike