def logout():

    system._UserManager.save_data()
    system._CentreManager.save_data()
    system._BookingManager.save_data()

    auth_manager.logout()
    return redirect(url_for('login'))
예제 #2
0
def logout():
    auth_manager.logout()
    return redirect(url_for('home'))
예제 #3
0
def logout():
    auth_manager.logout()
    #logout_user
    return redirect(url_for('login'))