Show OAuth with proper logo

This commit is contained in:
riggraz
2025-03-01 12:55:42 +01:00
parent 864d785cd6
commit b87d5214de
2 changed files with 1 additions and 2 deletions

View File

@@ -78,7 +78,6 @@ const UserSignUpForm = ({
<OAuthProviderLink <OAuthProviderLink
oAuthId={oAuth.id} oAuthId={oAuth.id}
oAuthName={oAuth.name} oAuthName={oAuth.name}
oAuthLogo={oAuth.logo}
oAuthReason='tenantsignup' oAuthReason='tenantsignup'
isSignUp isSignUp
key={i} key={i}

View File

@@ -7,7 +7,7 @@
{ {
oAuthId: o_auth.id, oAuthId: o_auth.id,
oAuthName: o_auth.name, oAuthName: o_auth.name,
oAuthLogo: o_auth.logo, oAuthLogo: o_auth.logo.attached? ? o_auth.logo.blob.url : nil,
oAuthReason: "login", oAuthReason: "login",
isSignUp: defined?(is_sign_up) ? is_sign_up : false, isSignUp: defined?(is_sign_up) ? is_sign_up : false,
href: get_url_for(method(:o_auth_start_url), resource: o_auth.id, disallow_custom_domain: true, options: { reason: "login" }), href: get_url_for(method(:o_auth_start_url), resource: o_auth.id, disallow_custom_domain: true, options: { reason: "login" }),