Skip to content

Commit

Permalink
fix: errorDescription value incorrectly assigned (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
evansims authored Jun 2, 2022
1 parent 1f2619b commit 248ed56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controller/Stateful/Callback.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function __invoke(
$error = $request->query('error', '');
$errorDescription = $request->query('error_description', '');
$error = is_string($error) ? $error : '';
$errorDescription = is_string($errorDescription) ? $error : '';
$errorDescription = is_string($errorDescription) ? $errorDescription : '';

// Clear the local session via the Auth0-PHP SDK:
app('auth0')->getSdk()->clear();
Expand Down

0 comments on commit 248ed56

Please sign in to comment.