Skip to content

Commit

Permalink
Remember auth backend to AuthRememberBackend()
Browse files Browse the repository at this point in the history
  • Loading branch information
mvantellingen committed Nov 28, 2011
1 parent 2533a2c commit 79737e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion auth_remember/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from auth_remember.models import RememberToken


class RememberBackend(object):
class AuthRememberBackend(object):
"""Custom django authentication backend, used to authenticate via the
remember-me cookie token
Expand Down
2 changes: 1 addition & 1 deletion example_project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
SESSION_EXPIRE_AT_BROWSER_CLOSE = True
AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend',
'auth_remember.backend.RememberBackend',
'auth_remember.backend.AuthRememberBackend',
)

MANAGERS = ADMINS
Expand Down

0 comments on commit 79737e8

Please # to comment.