couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Anderson <jch...@apache.org>
Subject Re: Username is case-sensative
Date Sat, 18 Sep 2010 00:53:27 GMT
On Fri, Sep 17, 2010 at 12:59 PM, Mark J. Reed <markjreed@gmail.com> wrote:
> On Fri, Sep 17, 2010 at 3:21 PM, Chris Anderson <jchris@apache.org> wrote:
>> I'd love a patch for that against this file:
>>
>> http://github.com/couchapp/couchapp/blob/master/vendor/evently/account/loginForm/mustache.html
>
> Okay..
>

Thanks. This is applied in couchapp/couchapp and will propagate to my
other apps as I next work on them.

http://github.com/couchapp/couchapp/commit/5a34c3c8a4bc96d580a896735836adc2c51a88bd

The magical case-folding stuff is entirely untenable. I'm sorry about
it not working with the non-English use case. But for the case of
login-names, why not have your username be in Hebrew script in the
first place, avoiding the issue entirely?

Chris

> index 1d30c1d..301dfb6 100644
> --- a/vendor/evently/account/loginForm/mustache.html
> +++ b/vendor/evently/account/loginForm/mustache.html
> @@ -1,5 +1,5 @@
>  <form>
> -  <label for="name">Name</label> <input type="text" name="name" value="">
> +  <label for="name">Name</label> <input type="text" name="name"
> value="" autocapitalize="off">
>   <label for="password">Password</label> <input type="password"
> name="password" value="">
>   <input type="submit" value="Login">
>   <a href="#signup">or Signup</a>
>
> --
> Mark J. Reed <markjreed@gmail.com>
>



-- 
Chris Anderson
http://jchrisa.net
http://couch.io

Mime
View raw message