~azzar1/unity/add-show-desktop-key

  • Committer: mattgiuca
  • Date: 2008-02-19 08:26:11 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:509
common.db: Rewrote user_authenticate to return 3 values (True, false, None)
    Now returns False if the password did not match, None if the password
    field is NULL (None implying a soft failure, with the possibility of
    validating against LDAP or something else).

auth.authenticate: Rewrote this module with a new plugin interface
    (as discussed with Tom Conway). Allows successive modules to try to
    authenticate the user.
    Changed the authenticate function interface: Now raises an AuthError
    when auth fails, instead of returning None.

dispatch.login: Handle new auth interface (exception catch).
    Auth is now able to provide an error message, in the exception.
    The exception message is displayed as an error to the user.
Filename Latest Rev Last Changed Committer Comment Size
..
app 409 17 years ago mattgiuca Moved www/conf and www/common to a new directory l Diff
__init__.py 409 17 years ago mattgiuca Moved www/conf and www/common to a new directory l 141 bytes Diff Download File
apps.py 478 17 years ago mattgiuca scripts/usrmgr-server: Renamed actions from dashes 4.5 KB Diff Download File
mimetypes.py 409 17 years ago mattgiuca Moved www/conf and www/common to a new directory l 1.1 KB Diff Download File
README 409 17 years ago mattgiuca Moved www/conf and www/common to a new directory l 531 bytes Diff Download File