diff --git a/packages/nocodb/src/lib/meta/api/orgUserApis.ts b/packages/nocodb/src/lib/meta/api/orgUserApis.ts index f31be978b5..2d7549295b 100644 --- a/packages/nocodb/src/lib/meta/api/orgUserApis.ts +++ b/packages/nocodb/src/lib/meta/api/orgUserApis.ts @@ -42,7 +42,12 @@ async function userUpdate(req, res) { NcError.badRequest('Cannot update super admin roles'); } - res.json(await User.update(req.params.userId, updateBody)); + res.json( + await User.update(req.params.userId, { + ...updateBody, + token_version: null, + }) + ); } async function userDelete(req, res) {