Skip to content
Browse files

Fixed #2325 -- fix the authentication framework to work with new-styl…

…e classes.

Patch from Joseph Kocherhans.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 50448de commit bd13190499e8967a956b649761097ccb593141c1 @malcolmt malcolmt committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/auth/
2 django/contrib/auth/
@@ -38,7 +38,7 @@ def authenticate(**credentials):
if user is None:
# Annotate the user object with the path of the backend.
- user.backend = str(backend.__class__)
+ user.backend = "%s.%s" % (backend.__module__, backend.__class__.__name__)
return user
def login(request, user):

0 comments on commit bd13190

Please sign in to comment.
Something went wrong with that request. Please try again.