Changeset 625


Ignore:
Timestamp:
10/21/08 19:09:11 (6 years ago)
Author:
rcorsaro
Message:

added DJANGO_SETTINGS_MODULE configuration bootstrap to auth script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/oforgeplugin/share/cgi-bin/oforge-auth.wsgi

    r539 r625  
    2929# os.environ['PYTHON_EGG_CACHE'] = PYTHON_EGG_CACHE 
    3030 
     31import os 
    3132import sys 
    3233sys.stdout = sys.stderr 
     
    4243 
    4344def check_password(environ, user, password): 
     45    os.environ['DJANGO_SETTINGS_MODULE'] = environ.get( 
     46                'oforge.django_settings', 'oforgetools.settings') 
    4447    global acct_mgr, trac_path_match, TRAC_ENV_PARENT_DIR 
    4548    m=trac_path_match.match(environ.get('REQUEST_URI', '')) 
Note: See TracChangeset for help on using the changeset viewer.