Re: auto authenticate

2010-03-26 Thread CrabbyPete
Thanks Peter that is exactly what I was looking for. On Mar 25, 5:12 pm, Peter Bengtsson wrote: > If what you want to achieve is to log in a user programmatically you > don't do that by authenticating by username and password. > Example: > > def login_by_id(request): > >      

Re: auto authenticate

2010-03-25 Thread Peter Bengtsson
If what you want to achieve is to log in a user programmatically you don't do that by authenticating by username and password. Example: def login_by_id(request): user = FacebookUser.objects.get(...).user from django.contrib.auth import load_backend, login for

auto authenticate

2010-03-25 Thread CrabbyPete
I am connecting facebook to an app I have running. In order not to change a load of code I created a dummy account when someone logs in through facebook. My only problem is I want to authenticate with this account when they log Is there a way to login in a user using the encrypted password. I am