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():