adds user ID to JWT
This commit is contained in:
@@ -52,6 +52,7 @@ const login = async (args) => {
|
||||
return signedFields;
|
||||
}, {
|
||||
email,
|
||||
id: user.id,
|
||||
});
|
||||
|
||||
fieldsToSign.collection = collectionConfig.slug;
|
||||
|
||||
Reference in New Issue
Block a user