Changeset d0c7563
- Timestamp:
- Dec 24, 2012, 3:39:49 AM (13 years ago)
- Branches:
- master, space-access, stable, stage
- Children:
- 14f594b
- Parents:
- 0290330
- git-author:
- Alex Dehnert <adehnert@…> (12/24/12 03:39:49)
- git-committer:
- MIT Association of Student Activities <asa@…> (12/24/12 03:39:49)
- File:
-
- 1 edited
-
asadb/mit/__init__.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
asadb/mit/__init__.py
r0290330 rd0c7563 6 6 7 7 from django.contrib.auth.backends import RemoteUserBackend 8 from django.contrib.auth.hashers import UNUSABLE_PASSWORD9 8 from django.contrib.auth.middleware import RemoteUserMiddleware 10 9 from django.contrib.auth.views import login … … 84 83 def configure_user(self, user, ): 85 84 username = user.username 86 user. password = UNUSABLE_PASSWORD85 user.set_unusable_password() 87 86 con = ldap.open('ldap-too.mit.edu') 88 87 con.simple_bind_s("", "")
Note: See TracChangeset
for help on using the changeset viewer.