Commit 6ca06e1e authored by Sietse Ringers's avatar Sietse Ringers
Browse files

Fix bug in scheme updating

parent fc2f5bde
......@@ -750,7 +750,7 @@ func (conf *Configuration) checkCredentialTypes(session SessionRequest, managers
if typ, contains = conf.CredentialTypes[credid]; !contains {
managers[credid.Root()] = struct{}{}
}
if !typ.ContainsAttribute(attrid) {
if !attrid.IsCredential() && !typ.ContainsAttribute(attrid) {
managers[credid.Root()] = struct{}{}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment