read the explanation here
http://docs.djangoproject.com/en/dev/howto/auth-remote-user/

On Wed, Oct 14, 2009 at 5:39 PM, luca72 <lucabe...@libero.it> wrote:

>
> Thanks but have you got idea why i get this error, request.user return
> the correct value, but for my understanding also the META
> ['REMOTE_USER'] has to give the same value.
>
> On 14 Ott, 11:34, robin nanola <robnan...@gmail.com> wrote:
> > try request.user
> >
> > you get a key error coz there is no  'REMOTE_USER' key in META.
> >
> > On Wed, Oct 14, 2009 at 5:29 PM, luca72 <lucabe...@libero.it> wrote:
> >
> > > Hello if i use request.META['REMOTE_USER'] i get key error, but if i
> > > use 'REMOTE_HOST' not
> > > can you tell me how to get the user that is authenticate
> > > I use the decorator @login_required and so the user is authenticated
> > > correct?
> >
> > > Regards
> >
> > > Luca
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to