fix principal url

This commit is contained in:
philipp lang 2022-10-07 00:03:39 +02:00
parent 57f47dd69c
commit 1ba84ebae7
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ class Principal implements PrincipalBackendInterface
*/
public function getGroupMembership($principal)
{
if (1 !== preg_match('/^\/principals\/(.*)$/', $principal, $matches)) {
if (1 !== preg_match('/^\/?principals\/(.*)$/', $principal, $matches)) {
return null;
}