Fix allowed group ID checking
This commit is contained in:
parent
aaf7733603
commit
5184d43d78
@ -129,7 +129,7 @@ func (p *paramsType) Init() error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("allowed group ids contains invalid group ID: " + idStr)
|
return fmt.Errorf("allowed group ids contains invalid group ID: " + idStr)
|
||||||
}
|
}
|
||||||
p.AllowedGroupIDs = append(p.AllowedUserIDs, id)
|
p.AllowedGroupIDs = append(p.AllowedGroupIDs, id)
|
||||||
}
|
}
|
||||||
|
|
||||||
if maxSize == "" {
|
if maxSize == "" {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user