mirror of
https://github.com/simple-login/app.git
synced 2024-11-16 17:08:30 +01:00
14 lines
424 B
Python
14 lines
424 B
Python
|
from flask import render_template
|
||
|
from flask_login import login_required, current_user
|
||
|
|
||
|
from app.dashboard.base import dashboard_bp
|
||
|
from app.models import DeletedAlias
|
||
|
|
||
|
|
||
|
@dashboard_bp.route("/deleted_alias", methods=["GET", "POST"])
|
||
|
@login_required
|
||
|
def deleted_alias_route():
|
||
|
deleted_aliases = DeletedAlias.query.filter_by(user_id=current_user.id)
|
||
|
|
||
|
return render_template("dashboard/deleted_alias.html", **locals())
|