From 575ac55c4ea0f26346df738d3c823cd02f89abe1 Mon Sep 17 00:00:00 2001 From: James Date: Mon, 15 Jun 2020 17:38:00 -0400 Subject: [PATCH] adds user ID to JWT --- src/auth/operations/login.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/auth/operations/login.js b/src/auth/operations/login.js index d5e6467eee..473590442f 100644 --- a/src/auth/operations/login.js +++ b/src/auth/operations/login.js @@ -52,6 +52,7 @@ const login = async (args) => { return signedFields; }, { email, + id: user.id, }); fieldsToSign.collection = collectionConfig.slug;