Changes between Version 15 and Version 16 of MultipleAuthBackends
- Timestamp:
- May 16, 2006, 2:36:13 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MultipleAuthBackends
v15 v16 30 30 I made a copy of contrib.auth.backends so the svn can update it without overwriting my LDAPBackend class. Don't know if that is the best way to do it or not, but it works. 31 31 32 ''I recommend you put it someplace like {{{myapp.auth.LDAPBackend}}}. Maintianing patches to Django is going to be a PITA. --Joseph Kocherhans'' 33 32 34 I also hacked the contrib.auth.models file to change the check_password function to check against our LDAP server, and added a few small functions to check the type of user account. I know this will break next time I update the source, but I have a copy of that as well. There is surely a better way, but I'm still learning. 35 36 ''You shouldn't have to hack the {{{check_password}}} function at all. It isn't called directly by Django's views anymore... only indirectly via {{{django.contrib.auth.backends.ModelBacked}}}, which you aren't using. -Joseph Kocherhans'' 33 37 34 38 End of newbie addition