def finish(): subid = session.get('subid') # If the user has finished, clear session if subid is not None: clear_session() return render_template('routes/finish.html') return redirect('/')
def finish(): subid = session.get('subid') # If the user has finished, clear session if subid is not None: # Filesystem will rename folder to _finished # Relational removes token so not accessible app.finish_user(subid) clear_session() return render_template('routes/finish.html') return redirect('/')
def logout(): # If the user has finished, clear session clear_session() return redirect('/')