Changeset dbb39a2


Ignore:
Timestamp:
Apr 20, 2010, 5:25:52 PM (15 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, client
Children:
734ef4f
Parents:
82211ea
git-author:
Alex Dehnert <adehnert@…> (04/20/10 17:25:52)
git-committer:
Alex Dehnert <adehnert@…> (04/20/10 17:25:52)
Message:

Add SocketAuth? authentication backend

Location:
remit
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • remit/settings.py

    r6f24604 rdbb39a2  
    2929
    3030BASE_COMMITTEE_PATH = ['Accounts', 'Assets', ]
     31
     32AUTH_SOCK = None # Path to SocketAuth socket
    3133
    3234from local_settings import *
     
    8385)
    8486
    85 AUTHENTICATION_BACKENDS = (
     87AUTHENTICATION_BACKENDS = [
    8688    'mit.ScriptsRemoteUserBackend',
    8789    'django.contrib.auth.backends.ModelBackend',
    88 )
     90]
     91if AUTH_SOCK:
     92    AUTHENTICATION_BACKENDS.insert(1, 'util.SocketAuth.SocketAuthBackend')
    8993
    9094ROOT_URLCONF = 'remit.urls'
Note: See TracChangeset for help on using the changeset viewer.