Fix allowed group ID checking

This commit is contained in:
Nonoo 2023-08-19 12:31:44 +02:00
parent aaf7733603
commit 5184d43d78

View File

@ -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 == "" {