mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 18:57:32 +00:00
fix(login): correctly reload policies on auth request (#7839)
This commit is contained in:
@@ -56,6 +56,16 @@ type AuthRequest struct {
|
||||
DefaultTranslations []*CustomText
|
||||
OrgTranslations []*CustomText
|
||||
SAMLRequestID string
|
||||
// orgID the policies were last loaded with
|
||||
policyOrgID string
|
||||
}
|
||||
|
||||
func (a *AuthRequest) SetPolicyOrgID(id string) {
|
||||
a.policyOrgID = id
|
||||
}
|
||||
|
||||
func (a *AuthRequest) PolicyOrgID() string {
|
||||
return a.policyOrgID
|
||||
}
|
||||
|
||||
type ExternalUser struct {
|
||||
|
Reference in New Issue
Block a user