core&ui: add login methods to response body (#1165)

This commit is contained in:
Baoshuo authored and GitHub committed 2026-05-24 22:52:08 +08:00
1 parent bbd7fbc852
commit ce14b98184
5 files changed
+9 -5

No files matched your search

@@ -40,7 +40,7 @@
<input type="submit" value="{{ _('Login') }}" name="login_submit" class="expanded rounded primary button">
</div></div>
{% endif %}
{%- for v in handler.loginMethods -%}
{%- 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>
</div></div>