Skip to content

Commit

Permalink
Merge pull request #301 from mycookbook/migrate-tiktok-api-to-v2-disp…
Browse files Browse the repository at this point in the history
…lay-api

debugging
  • Loading branch information
fokosun authored Oct 11, 2023
2 parents 8fa7976 + de9f15d commit 369933a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/Http/Controllers/AuthController.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,11 @@ public function tikTokHandleCallback(Request $request, TikTokHttpClient $httpCli
)
);
} else {
Log::debug(
'Maybe Private Tiktok account',
['error' => $userInfo]
);

return redirect(UriHelper::buildHttpQuery(
'errors',
['m' => Lang::get('errors.login.tiktok.private_account')]
Expand Down

0 comments on commit 369933a

Please sign in to comment.