mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: fix oauth login redirect url (#1172)
This commit is contained in:
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">
|
||||
|
||||
Reference in new issue
Block a user