Skip to content

Commit

Permalink
Fixed #2807
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue authored Aug 29, 2024
1 parent a9235a1 commit 4e6e576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Work/OAuth/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function register(Container $app)
*/
private function prepareCallbackUrl($app)
{
$callback = $app['config']->get('oauth.callback');
$callback = (string) $app['config']->get('oauth.callback', '');

if (0 === stripos($callback, 'http')) {
return $callback;
Expand Down

0 comments on commit 4e6e576

Please sign in to comment.