diff --git a/lib/configuration/hooks/studio/index.js b/lib/configuration/hooks/studio/index.js index a9f1dbba0d..5431258dd8 100644 --- a/lib/configuration/hooks/studio/index.js +++ b/lib/configuration/hooks/studio/index.js @@ -273,6 +273,9 @@ module.exports = function (strapi) { connectWithStudio: function (socket) { strapi.log.info('Connection with the Studio server found, please wait a few seconds...'); + // Purge + delete strapi.rsa; + strapi.rsa = new RSA({ b: 2048 });