mirror of
https://github.com/simple-login/app.git
synced 2024-09-07 02:41:29 +02:00
11 lines
212 B
Python
11 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")
|