mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-06 02:36:38 +00:00
♻️ pass default subdomain value to org auth page settings
This commit is contained in:
@@ -510,6 +510,14 @@ const AuthPageSettings = forwardRef<AuthPageSettingsRef, AuthPageSettingsProps>(
|
|||||||
hideFreeDomain={true}
|
hideFreeDomain={true}
|
||||||
orgId={org?.org.orgId as string}
|
orgId={org?.org.orgId as string}
|
||||||
cols={1}
|
cols={1}
|
||||||
|
defaultDomainId={
|
||||||
|
form.getValues("authPageDomainId") ??
|
||||||
|
loginPage?.domainId
|
||||||
|
}
|
||||||
|
defaultSubdomain={
|
||||||
|
form.getValues("authPageSubdomain") ??
|
||||||
|
loginPage?.subdomain
|
||||||
|
}
|
||||||
onDomainChange={(res) => {
|
onDomainChange={(res) => {
|
||||||
const selected = {
|
const selected = {
|
||||||
domainId: res.domainId,
|
domainId: res.domainId,
|
||||||
|
|||||||
Reference in New Issue
Block a user