Skip to content

Commit

Permalink
Fixed Callback error
Browse files Browse the repository at this point in the history
  • Loading branch information
Combind committed Apr 2, 2023
1 parent 795c870 commit e96d5fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/MauticController.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function login()

public function callback(Request $request)
{
if ($request->input('code') && ! $request->input('state')) {
if ($request->input('code') && $request->input('state')) {
$authConnector = new MauticAuthConnector;
$authConnector->requestToken($request);
}
Expand Down

0 comments on commit e96d5fd

Please sign in to comment.