1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-02-21 07:29:37 +01:00

Secret key should be persited in config file if exist in the data store

This commit is contained in:
Juan Picado @jotadeveloper 2017-06-10 23:18:50 +02:00
parent 1358d53dd9
commit d2a4cf3264
No known key found for this signature in database
GPG Key ID: 18AC54485952D158

@ -246,6 +246,7 @@ class Config {
*/
checkSecretKey(secret) {
if (_.isNil(secret) === false) {
this.secret = secret;
return secret;
}
// it generates a secret key