Fix in redirect admin
This commit is contained in:
parent
abebd294bd
commit
c3f4046d3e
1 changed files with 3 additions and 1 deletions
|
|
@ -47,7 +47,9 @@ def admin_prepare():
|
|||
|
||||
else:
|
||||
|
||||
return redirect(url_for('admin_app.login'))
|
||||
url_redirect=url_for('admin_app.login')
|
||||
|
||||
return redirect(url_redirect)
|
||||
|
||||
@admin_app.after_request
|
||||
def admin_finished(response):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue