#19912: Authenticate users in multiple database
-------------------------------------+-------------------------------------
     Reporter:  EvgeniyMakhmudov     |                    Owner:
         Type:  New feature          |  EvgeniyMakhmudov
    Component:  contrib.auth         |                   Status:  closed
     Severity:  Normal               |                  Version:  1.4
     Keywords:  authenticate         |               Resolution:  wontfix
    Has patch:  1                    |             Triage Stage:
  Needs tests:  1                    |  Unreviewed
Easy pickings:  0                    |      Needs documentation:  0
                                     |  Patch needs improvement:  0
                                     |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by EvgeniyMakhmudov):

 about first, ok. I understand.

 about this:
 ''[Also, this mixes up what arguments authenticate() takes: it's supposed
 to be {{{**credentials}}}, but the database isn't exactly considered
 credentials, I think.]
 ''
 i don't understand, why it problem for authenticate()?  Look,
 django.contrib.auth.authenticate takes {{{**credentials}}} and send it to
 backend, which by default alwsays the only
 {{{'django.contrib.auth.backends.ModelBackend'}}}. This backend receive
 dictionary with needed username,password and if neccesseary database name,
 otherwise use predefault value {{{'default'}}}. So, i can't see where is
 mixing?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19912#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to