mirror of
https://github.com/strapi/strapi.git
synced 2025-12-05 11:32:13 +00:00
Purge global RSA key
This commit is contained in:
parent
7ae3a2570a
commit
af579ca8d5
@ -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
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user