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

« back to all changes in this revision

Viewing changes to www/auth/authenticate.py

  • Committer: mattgiuca
  • Date: 2008-01-09 03:23:58 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:134
Added module: common/makeuser.py. Creates a new user jail by hardlinking the
jail template.
Added script: trunk/makeuser.py. Command-line script to run the above module
and create a user.

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 allow any user to log in
32
 
    return True
33
 
    ## TEMP: Just a hardcoded login
34
 
    #return username == 'user' and password == 'pass'
 
31
    # TEMP: Just a hardcoded login
 
32
    return username == 'user' and password == 'pass'