Skip to content

Commit

Permalink
use similar style to set query_params as in other places
Browse files Browse the repository at this point in the history
  • Loading branch information
nikochiko committed Dec 17, 2024
1 parent 337ae2c commit 488fe4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routers/root.py
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ def page_wrapper(request: Request, className=""):


def anonymous_login_container(request: Request, context: dict):
next_url = str(furl(request.url.path).add(query_params=request.query_params))
next_url = str(furl(request.url.path, query_params=request.query_params))
login_url = str(furl("/login/", query_params=dict(next=next_url)))

with gui.tag("a", href=login_url, className="pe-2 d-none d-lg-block"):
Expand Down

0 comments on commit 488fe4e

Please sign in to comment.