def delete_password_reset_token(uid):

    db = api.common.get_conn()
    db.users.update({'uid': uid}, {'$unset': {'password_reset_token': ''}})
Removes the password reset token for the user in mongo
dataset/ETHPy150Open IceCTF/ctf-platform/api/api/user.py/delete_password_reset_token