Skip to content

Commit

Permalink
Update discord.php
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkisDev authored Mar 21, 2018
1 parent f4012c8 commit 86593cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function get_user()

$responseBody = $response->getBody(true);
$response = json_decode($responseBody, true);
$_SESSION['user'] = $response['user'];
$_SESSION['user'] = $responseBody;
$_SESSION['username'] = $response['username'];
$_SESSION['discrim'] = $response['discriminator'];
$_SESSION['user_id'] = $response['id'];
Expand Down

0 comments on commit 86593cd

Please sign in to comment.