def logout(): system._UserManager.save_data() system._CentreManager.save_data() system._BookingManager.save_data() auth_manager.logout() return redirect(url_for('login'))
def logout(): auth_manager.logout() return redirect(url_for('home'))
def logout(): auth_manager.logout() #logout_user return redirect(url_for('login'))