Commit 814568c1 authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Added links to application for approval.

parent 6e131d23
......@@ -64,9 +64,12 @@ def application(environ, start_response):
start_response(status, response_headers)
return [ str(cookie) ]
else:
body = ["<p>Help! I need an adult!.</p>"]
body.append("<p>You're not registered to use this service. ")
body.append("Please contact a SRCT <a href=\"mailto:exec@srct.gmu.edu\">SysAdmin</a>.</p> ")
body = [""]
body.append("<p>You're not registered to use this service.<br />")
body.append("If this is in error, please contact a SRCT <a ")
body.append("href=\"mailto:exec@srct.gmu.edu\">SysAdmin</a>.<br />")
body.append("Alternatively, you may <a href=\"/exec/reg\">")
body.append("apply for registration</a>.</p>")
else:
body = ["<p>Error: Invalid username or password.</p>"]
......
......@@ -32,9 +32,6 @@ def application(environ, start_response):
login_form = """
<form action="/exec/lg" method="post">
<br />
You must be pre-approved by a SRCT <a
href="mailto:exec@srct.gmu.edu">SysAdmin</a> to use this service.
<br /><br />
<label for="usr">username</label>
<br /><br />
<input type="text" id="usr" name="usr" value="" />
......@@ -45,6 +42,9 @@ def application(environ, start_response):
<br /><br />
<input type="submit" name="submit" value="LOGIN" />
<br /><br />
You must be <a href="/exec/reg">registered</a> in order to
use this service.
<br /><br />
</form>
"""
#body.append( login_form )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment