From 376d2a8383edcaecaa550a24c78915daaeb44329 Mon Sep 17 00:00:00 2001 From: Hung Nguyen Date: Thu, 16 Jan 2025 16:57:35 +0700 Subject: [PATCH] Delete blank line --- src/pretalx/common/templatetags/oauth_tags.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pretalx/common/templatetags/oauth_tags.py b/src/pretalx/common/templatetags/oauth_tags.py index 2e2d39bc5..cfe4d7051 100644 --- a/src/pretalx/common/templatetags/oauth_tags.py +++ b/src/pretalx/common/templatetags/oauth_tags.py @@ -14,7 +14,6 @@ def oauth_login_url(next_url: Optional[str] = None) -> str: Usage: {% oauth_login_url next_url %} """ base_url = reverse('eventyay_common:oauth2_provider.login') - if next_url: return f"{base_url}?next={quote(next_url)}" return base_url