[fix] register return response
This commit is contained in:
parent
7fb70f217e
commit
0b90bda8a2
1 changed files with 3 additions and 0 deletions
|
@ -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():
|
||||
|
|
Loading…
Reference in a new issue