def session_login(username):
    user = db['users'].find_one(username=username)
    session['user_id'] = user['id']
Reindexes documents from index {src} to index {dest}
dataset/ETHPy150Open huner2/Tiny-CTF-Platform/server.py/session_login--crossover with--dataset/ETHPy150Open CenterForOpenScience/scrapi/tasks.py/reindex