[ic] problems with mixed case usernames

Eros Shop info at eros-shop.co.uk
Sat Apr 10 17:51:24 EDT 2004


At 22:10 10/04/2004, you wrote:
> > 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

Ok, I can see how that would/should work on the new_account.html page :)

How do I now tell the login page to be case insensitive?

Many thanks

Mark


Eros Shop
vwe internet ltd
PO BOX 1067
SLOUGH
SL1 7YA
UK

Shop - http://www.eros-shop.co.uk
EMail - info at eros-shop.co.uk
Tel - 0870 737 3369
Fax - 0870 737 4469




More information about the interchange-users mailing list