mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 11:47:56 +01:00
Show OAuth with proper logo
This commit is contained in:
@@ -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}
|
||||||
|
|||||||
@@ -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" }),
|
||||||
|
|||||||
Reference in New Issue
Block a user