core: fix oauth login redirect url (#1172)

This commit is contained in:
Baoshuo authored and GitHub committed 2026-06-06 18:27:07 +08:00
1 parent 8d76be8f0b
commit 01771a43e5
3 files changed
+14 -8

No files matched your search

@@ -42,7 +42,7 @@
{% endif %}
{%- for v in loginMethods -%}
<div class="row"><div class="columns">
<a href="{{ url('user_oauth', type=v.id) }}" class="expanded rounded button">{{ _(v.text) }}</a>
<a href="{{ url('user_oauth', type=v.id, query={redirect: handler.request.url}) }}" class="expanded rounded button">{{ _(v.text) }}</a>
</div></div>
{%- endfor -%}
<div class="row"><div class="columns">