[OpenSER-Users] Modify $au to lowercase

Iñaki Baz Castillo ibc at aliax.net
Fri Nov 23 23:10:05 CET 2007


El Viernes, 23 de Noviembre de 2007, Peter P GMX escribió:

> I have the following scenario. We do allow only lowercase usernames when
> users are registering. So the md5 password is created and stored based
> on lowercase letters.
> When a user receives his account data he might enter his username in
> camelcase in his user agent.

Couldn't be possible just to warn the user to write his name in lowercase when 
receiving the account data?

Note too that if you use "check_from"/"check_to" (to compare $fu with $au) you 
would have more problems is you want to allow camelcase names.

-- 
Iñaki Baz Castillo




More information about the Users mailing list