#35303: Add async implementations to contrib.auth backends
-------------------------------------+-------------------------------------
     Reporter:  Jon Janzen           |                    Owner:  Jon
                                     |  Janzen
         Type:  New feature          |                   Status:  closed
    Component:  contrib.auth         |                  Version:  5.0
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  async auth           |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by GitHub <noreply@…>):

 In [changeset:"7063d31cc37028e0f945faa43030ce23dc1a5c23" 7063d31c]:
 {{{#!CommitTicketReference repository=""
 revision="7063d31cc37028e0f945faa43030ce23dc1a5c23"
 Refs #35303 -- Made small optimizations in alogout() and aget_user().

 In alogout(), there is no need to check the is_authenticated attribute
 when user is None.

 In aget_user(), there is no need to call get_session_auth_hash() twice.

 Follow up to 50f89ae850f6b4e35819fe725a08c7e579bfd099.
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35303#comment:8>
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 view this discussion visit 
https://groups.google.com/d/msgid/django-updates/01070198c698ac8a-13cbe261-b1cd-4954-9ee7-a044490fd580-000000%40eu-central-1.amazonses.com.

Reply via email to