fix(login): correctly reload policies on auth request (#7839)

This commit is contained in:
Livio Spring
2024-04-24 08:44:55 +00:00
committed by GitHub
parent 25030c69b9
commit ac985e2dfb
3 changed files with 26 additions and 11 deletions
+10
View File
@@ -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 {