app-MAIL-temp/app/auth/views/logout.py

11 lines
212 B
Python
Raw Normal View History

from flask import render_template
from flask_login import logout_user
from app.auth.base import auth_bp
@auth_bp.route("/logout")
def logout():
logout_user()
return render_template("auth/logout.html")