Hi Łukasz,

Thanks for the great advice and for pointing me to these resources.
I truly appreciate it.

Patrick.

On Mar 24, 4:03 pm, Łukasz Rekucki <[email protected]> wrote:
> On 24 March 2011 14:50, pokecho <[email protected]> wrote:
>
> > Hi Sam,
>
> > So how do I configure contrib.auth to authenticate against three input
> > values "username"(static), password(static/encrypted) and PIN/
> > token(dynamic/encrypted)? That is the question.
>
> As Sam already said, you need to write a custom authentication
> backend[1] and use it instead of the default one.
>
> Of course, you'll also need a custom form on your login page. If you
> want to use the same system in Django's admin, you'll need to create
> your own subclass of AdminSite and override the form and template
> used[2].
>
> [1]:http://docs.djangoproject.com/en/dev/topics/auth/#writing-an-authenti...
> [2]:http://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contri...
>
> --
> Łukasz Rekucki

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

Reply via email to