Skip to content

Commit

Permalink
Escape refresh token
Browse files Browse the repository at this point in the history
  • Loading branch information
Synchro committed Jan 31, 2024
1 parent 6939bf9 commit 5251d33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get_oauth_token.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,5 +178,5 @@
);
//Use this to interact with an API on the users behalf
//Use this to get a new access token if the old one expires
echo 'Refresh Token: ', $token->getRefreshToken();
echo 'Refresh Token: ', htmlspecialchars($token->getRefreshToken());
}

0 comments on commit 5251d33

Please sign in to comment.