Skip to content

Commit

Permalink
use strapi.log instead of console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
hdeadman committed May 13, 2021
1 parent fcf391f commit ecf37f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ const getProfile = async (provider, query, callback) => {
? body.attributes.strapiemail || body.attributes.email
: body.strapiemail || body.email;
if (!username || !email) {
console.log(
strapi.log.warn(
'CAS Response Body did not contain required attributes: ' + JSON.stringify(body)
);
}
Expand Down

0 comments on commit ecf37f1

Please sign in to comment.