mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
Show OAuth with proper logo
This commit is contained in:
@@ -78,7 +78,6 @@ const UserSignUpForm = ({
|
||||
<OAuthProviderLink
|
||||
oAuthId={oAuth.id}
|
||||
oAuthName={oAuth.name}
|
||||
oAuthLogo={oAuth.logo}
|
||||
oAuthReason='tenantsignup'
|
||||
isSignUp
|
||||
key={i}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
{
|
||||
oAuthId: o_auth.id,
|
||||
oAuthName: o_auth.name,
|
||||
oAuthLogo: o_auth.logo,
|
||||
oAuthLogo: o_auth.logo.attached? ? o_auth.logo.blob.url : nil,
|
||||
oAuthReason: "login",
|
||||
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" }),
|
||||
|
||||
Reference in New Issue
Block a user