Purge global RSA key

This commit is contained in:
Aurélien Georget 2015-12-01 14:20:55 +01:00
parent 7ae3a2570a
commit af579ca8d5

View File

@ -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
});