Monday, February 2, 2009

Re: not filter with username case sensitive

Auth does not enforce either case sensitivity or insensitivity. This
is all up to how you have your database configured.
If your database, table of field is set to a "_ci" collation you will
have case insensitive usernames. If you have a "_cs" or "_bin"
collation you will be case sensitive. (All MySQL collation names...
might be different in other RDBMS)

/Martin


On Feb 2, 8:56 am, sophy <sophy.p...@gmail.com> wrote:
> I am new cakephp user. How to make case sensitive username with auth
> component?
> When I login with my username "Sophy" or "sophy" it login successful.
> I need to case sensitive with my username. how can I do?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: