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:
parent
8fa5131364
commit
8f83749352
|
@ -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'])
|
||||
|
|
Loading…
Reference in New Issue
Block a user