[fix] register return response

This commit is contained in:
SouthFox 2023-07-17 05:02:12 +08:00
parent 7fb70f217e
commit 0b90bda8a2

View file

@ -198,6 +198,9 @@ def register() -> Any:
settings.account = account settings.account = account
db.session.commit() db.session.commit()
flash('应用授权成功!')
return redirect(url_for("settings"))
@app.route('/archive', methods=['GET', 'POST']) @app.route('/archive', methods=['GET', 'POST'])
def archive(): def archive():