mirror of
https://github.com/simple-login/app.git
synced 2024-11-18 01:40:38 +01: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")
|