Merge branch 'main' of ssh://git.booko.info:2222/Baffle-WAF/baffle-hub

This commit is contained in:
Dan Milne
2025-11-09 20:58:18 +11:00
9 changed files with 167 additions and 111 deletions

View File

@@ -26,8 +26,9 @@
<% if @show_oidc_login && !@show_registration %>
<div class="my-6">
<%= link_to "Sign in with #{@oidc_provider_name}", "/auth/oidc",
class: "w-full block text-center rounded-md px-3.5 py-2.5 bg-indigo-600 hover:bg-indigo-500 text-white font-medium cursor-pointer" %>
<%= button_to "Sign in with #{@oidc_provider_name}", "/auth/oidc", method: :post,
data: { turbo: false },
class: "w-full block text-center rounded-md px-3.5 py-2.5 bg-indigo-600 hover:bg-indigo-500 text-white font-medium cursor-pointer border-0" %>
<div class="mt-4 text-center">
<span class="text-gray-500">or</span>