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

« back to all changes in this revision

Viewing changes to www/auth/authenticate.py

  • Committer: drtomc
  • Date: 2008-01-28 23:37:40 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:316
setup.py - name the configuration command "config" to bring it into line with
other setup.py scripts.
users.sql - tweak.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 
29
29
    # WARNING: Both username and password may contain any characters, and must
30
30
    # be sanitized within this function.
31
 
    # TEMP: Just a hardcoded login
32
 
    return username == 'user' and password == 'pass'
 
31
    # TEMP: Just allow any user to log in
 
32
    return True
 
33
    ## TEMP: Just a hardcoded login
 
34
    #return username == 'user' and password == 'pass'