Skip to content

Commit

Permalink
chore: change private to protected, allowing extensibility
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Nov 19, 2024
1 parent 8eb56b1 commit 2011773
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/core/src/Forum/Auth/ResponseFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function make(string $provider, string $identifier, callable $configureRe
));
}

private function makeResponse(array $payload): HtmlResponse
protected function makeResponse(array $payload): HtmlResponse
{
$content = sprintf(
'<script>window.close(); window.opener.app.authenticationComplete(%s);</script>',
Expand All @@ -72,7 +72,7 @@ private function makeResponse(array $payload): HtmlResponse
return new HtmlResponse($content);
}

private function makeLoggedInResponse(User $user)
protected function makeLoggedInResponse(User $user)
{
$response = $this->makeResponse(['loggedIn' => true]);

Expand Down

0 comments on commit 2011773

Please sign in to comment.