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

« back to all changes in this revision

Viewing changes to www/auth/authenticate.py

  • Committer: stevenbird
  • Date: 2008-02-01 03:51:56 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:368
First version of a DTD for XML problem files

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'