Commit 904f3783 authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Modifying login procedure.

parent 421d939f
......@@ -20,13 +20,15 @@ def application(environ, start_response):
# Grab user data, cut off non-relevant fields.
data = environ['wsgi.input']
data = library.parse_post_data( data )
library.trim_noise( data, fields )
#data = library.parse_post_data( data )
#fields = ['usr', 'pass']
#library.trim_noise( data, fields )
usr = data['usr']
psw = data['pass']
#usr = data['usr']
#psw = data['pass']
body = ["Hello, world!"]
#body = [usr]
body = [ data ]
# Read and store in memory the header and footer sections
# of the page display.
......
......@@ -5,7 +5,7 @@ import site
# Determine if a user is appropriately validated through LDAP.
def user_logged_in():
return True
return False
# Given a dictionary and a set of relevant entries, this procedure
......
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