Loading...
 
Architecture / Installation

Architecture / Installation


Re: Can login validation ignore capitalization in username?

posts: 2881 United Kingdom

Latest code in CVS does allow case insensativity. however it will cause problems for those who already have two usernames in existance which are cased differently.

To save running the unstable CVS code on your production site, you can apply a little hack locally to strtolower( ) the username when it gets checked against the database.

Damian

posts: 22

Damian wrote:

> To save running the unstable CVS code on your production site, you can apply a little hack locally to strtolower( ) the username when it gets checked against the database.

I have decided to accept that users have to enter ))JohnSmith(( (capitalized) when they log on. Thanks for your reply.

(Using strtolower is smart, but it would have to be applied to the name stored in the database as well as on the name entered, right before checking. I really wouldn't know how to insert the conversion, I guess I could figure it out if I wanted to. Maybe later.)

Mike




Upcoming Events

No records to display

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.