mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
Fix OAuth login on custom domains (#320)
This commit is contained in:
committed by
GitHub
parent
b63956a173
commit
e887bca9cf
@@ -10,6 +10,7 @@
|
||||
oAuthLogo: o_auth.logo,
|
||||
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" }),
|
||||
}
|
||||
)
|
||||
%>
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
locale: @tenant.locale
|
||||
},
|
||||
boards: @tenant.boards.order(order: :asc),
|
||||
isMultiTenant: Rails.application.multi_tenancy?,
|
||||
authenticityToken: form_authenticity_token
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user