Skip to content

Commit d7b15de

Browse files
committed
fixup! fix: hide ToS on login except login flow for clients
1 parent bed1701 commit d7b15de

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/AppInfo/Application.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ public function registerFrontend(IRequest $request, IConfig $config, IUserSessio
102102
'#^/apps/user_oidc/sls$#',
103103
'#^/apps/user_oidc/id4me$#',
104104
'#^/apps/user_oidc/id4me/code$#',
105+
// registration
106+
'#^/apps/registration(?:$|/)#',
105107
];
106108
if (array_filter($skipPatterns, fn($pattern) => preg_match($pattern, $request->getPathInfo()))) {
107109
return;

0 commit comments

Comments
 (0)