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:
parent
1358d53dd9
commit
d2a4cf3264
@ -246,6 +246,7 @@ class Config {
|
||||
*/
|
||||
checkSecretKey(secret) {
|
||||
if (_.isNil(secret) === false) {
|
||||
this.secret = secret;
|
||||
return secret;
|
||||
}
|
||||
// it generates a secret key
|
||||
|
Loading…
Reference in New Issue
Block a user