~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
..
config 1 17 years ago drtomc An initial checkin. Diff
scripts 1 17 years ago drtomc An initial checkin. Diff
Makefile 6 17 years ago drtomc Make a bunch of small changes suggested by Ivo. 4.1 KB Diff Download File
README 4 17 years ago drtomc Add info about how to add a user. 3.7 KB Diff Download File
TODO 6 17 years ago drtomc Make a bunch of small changes suggested by Ivo. 92 bytes Diff Download File