Skip to content

Commit

Permalink
fix: allow redirection after login
Browse files Browse the repository at this point in the history
  • Loading branch information
Ph0tonic committed Nov 20, 2023
1 parent 29da022 commit 375e890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multiauthenticator/multiauthenticator.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def get_custom_html(self, base_url):
html.append(
f"""
<div class="service-login">
<a role="button" class='btn btn-jupyter btn-lg' href='{url}{{% if next is defined %}}?next={{{{next}}}}{{% endif %}}'>
<a role="button" class='btn btn-jupyter btn-lg' href='{url}{{% if next is defined and next|length %}}?next={{{{next}}}}{{% endif %}}'>
Sign in with {login_service}
</a>
</div>
Expand Down

0 comments on commit 375e890

Please sign in to comment.