Skip to content

Commit

Permalink
Fix group name length
Browse files Browse the repository at this point in the history
  • Loading branch information
felixrupp committed Aug 17, 2019
1 parent 3a336ef commit 8d346db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/UserService.php
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ public function updateGroups($user, $groups, $protectedGroups = '', $justCreated
}

# Filter length to max 64 chars
if(strlen($group) > 63) {
if(strlen($group) > 64) {

$group = substr($group, 0, 63)."";
}
Expand Down

0 comments on commit 8d346db

Please sign in to comment.