parent
57f47dd69c
commit
1ba84ebae7
app/Dav
|
@ -151,7 +151,7 @@ class Principal implements PrincipalBackendInterface
|
||||||
*/
|
*/
|
||||||
public function getGroupMembership($principal)
|
public function getGroupMembership($principal)
|
||||||
{
|
{
|
||||||
if (1 !== preg_match('/^\/principals\/(.*)$/', $principal, $matches)) {
|
if (1 !== preg_match('/^\/?principals\/(.*)$/', $principal, $matches)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue