def logout(): """ Log out a logged in user. Then redirect them back to the main page of the site. """ logout_user() return redirect(url_for('index'))
def logout(): # Logs the user out logout_user() flash('You were logged out.') return redirect(url_for('show_posts'))
def logout(): g.url = URL g.posts = get_posts() logout_user() flash('You were logged out.') return redirect(url_for('show_posts'))
def logout(): logout_user() flash('You were logged out.') return redirect(url_for('show_posts'))
def logout(): logout_user() return redirect(url_for('index'))
def logout(): logout_user() flash('You were logged out.')
def logout(): logout_user()
def logout(): """Log a user out of their account.""" logout_user() return redirect(url_for('.index'))
def logout(): """User logout/auth/session managment""" logout_user() return redirect(url_for('index'))
def signout(): logout_user() flash('You were logged out.') return redirect(url_for('home'))
def logout(): logout_user() return redirect(url_for('startpage'))
def logout(): """Log out a logged in userand redirect them back to the main page.""" stormpath.logout_user() return redirect(url_for('index'))
def logout(): logout_user() flash("Has salido del sistema.") return redirect(url_for("show_posts"))