-
Committer:
mattgiuca
-
Date:
2008-02-01 08:06:30 UTC
-
Revision ID:
svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:376
auth/authenticate: Replaced dummy code (which always auths) with a call to the
DB. Now correctly authenticates.
IMPORTANT: Changed interface. Instead of returning True/False, now returns
None or a dictionary of the login details.
I have chased this up with all the callers (just 1).
dispatch/login.py: Reworked call to authenticate. Now handles the change
above, and retrieves the login details. Writes all of the user's login
fields to the browser session (see debuginfo to see the fields stored
there).