reproducible debian: web scheduler: fix crash for non-logged in users

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent eeb82aa5
......@@ -129,8 +129,8 @@ else:
print()
cgitb.handler()
# Debug info, to be removed once ready to go.
print()
print('WARNING: This endpoint is still a WORK IN PROGRESS. This means that the option details can change, and it will not commit any change.')
print('User: {}'.format(user))
print(form)
print('You are aunthenticated as: {}'.format(user))
print(cgi.FieldStorage())
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