Username character long ?

feature requests for Admin Module(setup of HR infrastructure)

Moderator: Admin

Username character long ?

Postby billyduc » Mon Apr 05, 2010 11:33 am

I use ldap for authentication but I have some username with 4 character long
"UserName should be at least five characters long"
Someone please tell me where to adjust this condition. Thanks in advance !
billyduc
 
Posts: 3
Joined: Mon Nov 23, 2009 2:39 pm

Re: Username character long ?

Postby dulitha » Wed May 05, 2010 8:22 am

Hi,

you have to change the java script validation of the below files.

OrangeHRM/lib/extractor/maintenance/EXTRACTOR_Users.php
OrangeHRM/templates/maintenance/changeusers.php
OrangeHRM/templates/maintenance/users.php

Let me know the status..

Regards,
Dulitha
dulitha
 
Posts: 92
Joined: Mon Oct 26, 2009 3:14 pm

Re: Username character long ?

Postby michael.struble » Wed May 04, 2011 8:03 pm

I know I am digging up an old thread... There is one person in our company that has a 4 character length LDAP username. I am running version 2.5.0.4 and the only place I can locate anything regarding this is in the user.php file.

if (userName.length < 5 ) {
err = true;
msg += "- <?php echo $lang_Admin_Users_Errors_UsernameShouldBeAtleastFiveCharactersLong; ?>\n";

I am hoping someone has more information regarding this. Is there any reason I can not just change the above value to < 4?

Thanks! -Mike
michael.struble
 
Posts: 1
Joined: Wed May 04, 2011 7:57 pm


Return to Admin Module

Who is online

Users browsing this forum: No registered users and 0 guests