Improve position log studio server found

This commit is contained in:
Aurélien Georget 2015-11-05 15:39:21 +01:00
parent 9147b4be07
commit f233466e01

View File

@ -264,10 +264,10 @@ module.exports = function (strapi) {
if (err) {
strapi.log.warn('Continuing without credentials.');
} else {
strapi.log.info('Connection with the Studio server found, please wait a few seconds...');
config = JSON.parse(config);
strapi.token = config.token;
strapi.log.info('Connection with the Studio server found, please wait a few seconds...');
socket.emit('getPublicKey', null, function (publicKey) {
if (publicKey) {