mirror of
https://github.com/simple-login/app.git
synced 2024-11-16 17:08:30 +01:00
10 lines
212 B
Python
10 lines
212 B
Python
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")
|