incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Quint <aa...@quirkey.com>
Subject Re: Authentication Questions
Date Wed, 09 Sep 2009 15:14:58 GMT
On Wed, Sep 9, 2009 at 11:08 AM, Benoit Chesneau<bchesneau@gmail.com> wrote:
> On Wed, Sep 9, 2009 at 4:07 PM, Aaron Quint<aaron@quirkey.com> wrote:
>> Hey Chris,
>>
>> I was thinking about that, but it brings me to another question: So in
>> the validate doc, how do I check the userCtx argument for 'logged' in
>> status? Will the even be a userCtx argument if I'm not logged in?
>> Thanks for your help
>> --AQ
>>
>> Aaron Quint
>> http://www.quirkey.com
>>
>
> if not logged userCtx.name is null . If not it contain the username.
> There is a full example about it working with cookie auth here :
>
> http://bitbucket.org/benoitc/benoitcim/
>
> especially :
> http://bitbucket.org/benoitc/benoitcim/src/tip/vendor/inditeweb/_attachments/jquery.couchapp.js#cl-283
>
>
> hope it helps.
>
> - benoît
>

Hey Benoît

So that jquery.couchapp.js is different from the one in couchapp? Is
it going to be merged in soon?
Thanks for the help,
I'll let everyone know when I have something to show.

If anyone is coming to jquery conf this weekend - come say hello,
--AQ
--AQ

Mime
View raw message