[ic] problems with mixed case usernames

Ron Phipps rphipps at reliant-solutions.com
Sat Apr 10 17:10:11 EDT 2004


> From: interchange-users-bounces at icdevgroup.org
[mailto:interchange-users-
> bounces at icdevgroup.org] On Behalf Of Eros Shop
> 
> At 21:08 10/04/2004, you wrote:
> > > From: interchange-users-bounces at icdevgroup.org
> >[mailto:interchange-users-
> > > bounces at icdevgroup.org] On Behalf Of Eros Shop
> > >
> > > Hi All,
> > >
> > > It seems that a lot of my users/customers are forgetful when it
comes
> >to
> > > their login details and despite the provision of a means to
retrieve
> >their
> > > logon details by email they tend to opt for creating a new
account.
> > >
> > > After a bit of investigation, it appears that this all boils down
to
> >the
> > > case of the letters in the username. IC appears to see "Mark" and
> >"mark"
> > > as
> > > different when it comes to username/account creation and I
wondered if
> >it
> > > was possible to make the process case insensitive or forced
lowercase?
> > >
> > > Many thanks
> > >
> > > Mark
> > >
> >
> >Check the ignore_case parameter for the new account function.
> >
> >http://www.icdevgroup.org/i/dev/docfly.html?mv_arg=icdatabase09%2e03
> >
> >-Ron
> 
> Thanks for the pointer Ron,
> 
> Sadly I'm not on the ball as much as I thought I was and I don't see
how
> to
> use any of this with my login.html and new_account.html files :(
> 
> I'm going to have to resort to the basics....

[snip]

Try changing this:

> [if type=explicit compare="[userdb new_account]"]

to this:

[if type=explicit compare="[userdb function=new_account ignore_case=1]"]

This is untested code.

Good luck,
-Ron



More information about the interchange-users mailing list