Skip to content

Commit

Permalink
Fix OAuth integration linking errors (#3442)
Browse files Browse the repository at this point in the history
  • Loading branch information
partydragen authored Dec 16, 2023
1 parent 7a3fbd3 commit f0d0903
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/Core/pages/oauth.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,10 @@
);
}

if ($integration->getErrors()) {
Session::flash('connections_error', $integration->getErrors()[0]);
}

Session::delete('oauth_register_data');
Session::delete('oauth_method');
Redirect::to(URL::build('/user/connections'));
Expand Down

0 comments on commit f0d0903

Please sign in to comment.