Commit 26c3829a authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Added links to user registration page.

parent 814568c1
......@@ -65,11 +65,10 @@ def application(environ, start_response):
return [ str(cookie) ]
else:
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>")
body.append("<p>You do not currently have permission to use this ")
body.append("service. Please <a href=\"/exec/reg\">apply</a> for access.</p>")
body.append("<p>If you believe this message is in error, please contact ")
body.append("a SRCT <a href=\"mailto:exec@srct.gmu.edu\">SysAdmin</a>.</p>")
else:
body = ["<p>Error: Invalid username or password.</p>"]
......
......@@ -41,10 +41,12 @@ def application(environ, start_response):
<input type="password" id="pass" name="pass" value="" />
<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 />
<p>
<br />
You must be <a href="/exec/reg">registered</a> in
order to use this service.
<br /><br />
</p>
</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