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