Improve ldapserver logging

This commit is contained in:
2020-11-04 00:39:07 +00:00
parent bf0030504a
commit abcea93050
5 changed files with 74 additions and 20 deletions
+4
View File
@@ -1,3 +1,5 @@
from log import logger
from flask import Flask, abort, request
app = Flask(__name__)
@@ -13,6 +15,8 @@ def check_auth():
@app.route('/')
def index():
logger.info('Index page requested')
return '<i>SEE YOU SPACE SAMURAI...</i>'
@app.route('/find-user', methods=['POST'])