mirror of
https://github.com/simple-login/app.git
synced 2024-09-06 18:31:29 +02:00
* 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
10 lines
282 B
Python
10 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)
|