Password with capital letters or not

Hi

I´m making a simple password system in flash.It´s working fine, but I´d like to make it capital letter not sensitive, so the user can put “Password” or password, and on either way, would work. How do i do it?

Thanks

You don’t. Passwords are supposed to be case sensitive!

For security purposes, it makes sense to distinguish between upper and lower case passwords…but, for a simple password checking routine, there’s no reason why you can’t convert the user-entered text using String.toUpperCase

I know… but in this case, they should not.

[QUOTE=glosrfc;2353172]For security purposes, it makes sense to distinguish between upper and lower case passwords…but, for a simple password checking routine, there’s no reason why you can’t convert the user-entered text using String.toUpperCase[/QUOTE]

thanks glosrfc

It helped a lot! :smiley:

Try with. :slight_smile: