Add user lookup to ldapserver ping

This should help keep the cache fresh so create user requests don't time
out when people go to sign up.
This commit is contained in:
Tanner Collin 2021-07-16 02:33:40 +00:00
parent 8fa5131364
commit 8f83749352

View File

@ -21,6 +21,7 @@ def index():
@app.route('/ping')
def ping():
ldap_functions.find_user('tanner.collin')
return 'pong'
@app.route('/find-user', methods=['POST'])