[rt-users] RT login with userid that is numeric

david.falkenburger at rbc.com david.falkenburger at rbc.com
Wed Jun 23 15:25:37 EDT 2004


I was wondering if the login should be allowed to use an id that is entirely
numeric. Does not seem to be any limitation anywhere except in autohandler:
$session{'CurrentUser'}->Load($user);
 
Looking at the code for the RT::CurrentUser object, I found LoadByName and I
changed the code to
$session{'CurrentUser'}->LoadByName($user);
and I am now fine. Should this be the default? When would a user logon using
their actual record id number? Will doing this break anything somewhere
else?
 
Thanks.
Dave

------------------------------------------------------------
This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately. 

Ce courrier électronique est confidentiel et protégé. L'expéditeur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) désigné(s) est interdite. Si vous recevez ce courrier électronique par erreur, veuillez m'en aviser immédiatement, par retour de courrier électronique ou par un autre moyen.

============================================================ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20040623/e5c46d09/attachment.htm>


More information about the rt-users mailing list