mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 11:34:26 +00:00
fix: respect requested org (primary domain scope) for private labeling (#2561)
* fix: handle private labeling on login page without auth request * fix: respect requested org (primary domain scope) for private labeling again * respect requested org (primary domain scope) for private labeling
This commit is contained in:
parent
22cfad8cb0
commit
f5661c6e61
@ -443,6 +443,9 @@ func (l *Login) getPrivateLabelingID(authReq *domain.AuthRequest) string {
|
|||||||
privateLabelingOrgID = authReq.UserOrgID
|
privateLabelingOrgID = authReq.UserOrgID
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if authReq.RequestedOrgID != "" {
|
||||||
|
privateLabelingOrgID = authReq.RequestedOrgID
|
||||||
|
}
|
||||||
return privateLabelingOrgID
|
return privateLabelingOrgID
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user