mirror of
https://github.com/simple-login/app.git
synced 2024-11-16 08:58:30 +01:00
b849d1cfa7
* Export alias in csv * reformating * template * Improved contributing script and doc * Updated test * removed csv export from GDPR export archive * added test for new route * fix trailing space * moved test to new utils file
9 lines
282 B
Python
9 lines
282 B
Python
from app.dashboard.base import dashboard_bp
|
|
from flask_login import login_required, current_user
|
|
from app.alias_utils import alias_export_csv
|
|
|
|
|
|
@dashboard_bp.route("/alias_export", methods=["GET"])
|
|
@login_required
|
|
def alias_export_route():
|
|
return alias_export_csv(current_user)
|