Skip to content

Commit

Permalink
redirect to
Browse files Browse the repository at this point in the history
  • Loading branch information
julfiker committed Feb 11, 2021
1 parent b661e14 commit 2a17613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ExternalAuthorizeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function redirect(Request $request, SingleAuthorizeManager $authorizeMana
$user = $authorizeManager->authenticate($id);

if ($user && $user->user_id == $id)
return Redirect::away($redirectTo);
return Redirect::to($redirectTo);

abort(403);
}
Expand Down

0 comments on commit 2a17613

Please sign in to comment.