Skip to content

Commit 5f8f1ff

Browse files
artongebackportbot[bot]
authored andcommitted
fix(login): Properly target public page with attribute
Signed-off-by: Louis Chemineau <[email protected]> [skip ci]
1 parent 649b229 commit 5f8f1ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/AppFramework/Middleware/FlowV2EphemeralSessionsMiddleware.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function beforeController($controller, $methodName) {
3737
}
3838

3939
$reflectionMethod = new ReflectionMethod($controller, $methodName);
40-
if (!empty($reflectionMethod->getAttributes('PublicPage'))) {
40+
if (!empty($reflectionMethod->getAttributes(PublicPage::class))) {
4141
return;
4242
}
4343

0 commit comments

Comments
 (0)