forked from extern/egroupware
Changed the 8 charater limit on loginids to only affect LDAP users
This commit is contained in:
parent
43cc63b07f
commit
8e765f2af7
@ -27,8 +27,11 @@
|
||||
if ($submit) {
|
||||
$totalerrors = 0;
|
||||
|
||||
if (strlen($n_loginid) > 8)
|
||||
$error[$totalerrors++] = lang("The loginid can not be more then 8 characters");
|
||||
if ($phpgw_info["server"]["auth_type"] == "ldap") {
|
||||
if (strlen($n_loginid) > 8) {
|
||||
$error[$totalerrors++] = lang("The loginid can not be more then 8 characters");
|
||||
}
|
||||
}
|
||||
|
||||
if ($old_loginid != $n_loginid) {
|
||||
if (account_exsists($n_loginid)) {
|
||||
|
@ -45,8 +45,11 @@
|
||||
if ($submit) {
|
||||
$totalerrors = 0;
|
||||
|
||||
if (strlen($n_loginid) > 8)
|
||||
$error[$totalerrors++] = lang("The loginid can not be more then 8 characters");
|
||||
if ($phpgw_info["server"]["auth_type"] == "ldap") {
|
||||
if (strlen($n_loginid) > 8) {
|
||||
$error[$totalerrors++] = lang("The loginid can not be more then 8 characters");
|
||||
}
|
||||
}
|
||||
|
||||
if (! $n_loginid)
|
||||
$error[$totalerrors++] = lang("You must enter a loginid");
|
||||
|
Loading…
Reference in New Issue
Block a user