From 0b90bda8a2b59c09370e1ef6e2cf8836e372eaf4 Mon Sep 17 00:00:00 2001 From: SouthFox Date: Mon, 17 Jul 2023 05:02:12 +0800 Subject: [PATCH] [fix] register return response --- BDSM/views.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BDSM/views.py b/BDSM/views.py index 45d693c..ea9c0ae 100644 --- a/BDSM/views.py +++ b/BDSM/views.py @@ -198,6 +198,9 @@ def register() -> Any: settings.account = account db.session.commit() + flash('应用授权成功!') + return redirect(url_for("settings")) + @app.route('/archive', methods=['GET', 'POST']) def archive():