fix: Try to get next page directly
All checks were successful
Build Docker / Build Docker (push) Successful in 30s
All checks were successful
Build Docker / Build Docker (push) Successful in 30s
This commit is contained in:
parent
f3249b8727
commit
1e09ca64e6
@ -187,10 +187,9 @@ def home():
|
|||||||
if 'domains' in session:
|
if 'domains' in session:
|
||||||
domains = session['domains']
|
domains = session['domains']
|
||||||
|
|
||||||
# URL encode the next page
|
|
||||||
if next_page:
|
if next_page:
|
||||||
next_page = urllib.parse.quote(next_page)
|
# find next in url
|
||||||
|
next_page = request.url.split("next=")[1]
|
||||||
|
|
||||||
return render_template("home.html", user=user, clients=clients,
|
return render_template("home.html", user=user, clients=clients,
|
||||||
address=address, hnsid=hnsid, users=users,
|
address=address, hnsid=hnsid, users=users,
|
||||||
|
Loading…
Reference in New Issue
Block a user