Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
fokosun committed Oct 11, 2023
1 parent 3145ec1 commit 31733ea
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 31733ea

Please sign in to comment.