Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
go
Commits
6e131d23
Commit
6e131d23
authored
Oct 29, 2013
by
Jean Michel Rouly
Browse files
Added registration requirement disclaimer.:
parent
f754f2b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
wsgi/authenticate.py
View file @
6e131d23
...
...
@@ -66,8 +66,7 @@ def application(environ, start_response):
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 <a href=
\"
http://srct.gmu.edu
\"
>SRCT</a> "
)
body
.
append
(
"SysAdmin.</p>"
)
body
.
append
(
"Please contact a SRCT <a href=
\"
mailto:exec@srct.gmu.edu
\"
>SysAdmin</a>.</p> "
)
else
:
body
=
[
"<p>Error: Invalid username or password.</p>"
]
...
...
wsgi/index.py
View file @
6e131d23
...
...
@@ -32,6 +32,9 @@ 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="" />
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment