mirror of
https://github.com/strapi/strapi.git
synced 2025-08-30 19:56:05 +00:00
Fixed bug following recommendation
This commit is contained in:
parent
b3ebf8e736
commit
b6fc268297
@ -45,14 +45,9 @@ exports.connect = (provider, query) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const users = await strapi.query('user', 'users-permissions').find({
|
const users = await strapi.query('user', 'users-permissions').find(strapi.utils.models.convertParams('user', {
|
||||||
where: {
|
email: profile.email
|
||||||
email: {
|
}));
|
||||||
symbol: '=',
|
|
||||||
value: profile.email
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
const advanced = await strapi.store({
|
const advanced = await strapi.store({
|
||||||
environment: '',
|
environment: '',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user