Ignore:
Timestamp:
Feb 20, 2009, 10:09:34 PM (15 years ago)
Author:
iannucci
Message:

Fixed the log in link for xvm-dev by using environHOSTNAME?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-web/code/main.py

    r2161 r2182  
    1313import time
    1414import urllib
     15import os
    1516from StringIO import StringIO
    1617
     
    607608def unauthFront(_, _2, _3, fields):
    608609    """Information for unauth'd users."""
    609     return templates.unauth(searchList=[{'simple' : True}])
     610    return templates.unauth(searchList=[{'simple' : True,
     611            'hostname' : os.environ['HOSTNAME'] if 'HOSTNAME' in os.environ else 'xvm.mit.edu'}])
    610612
    611613def admin(username, state, path, fields):
Note: See TracChangeset for help on using the changeset viewer.