mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-17 23:45:29 -05:00
Secret key should be persited in config file if exist in the data store
This commit is contained in:
parent
1358d53dd9
commit
d2a4cf3264
1 changed files with 1 additions and 0 deletions
|
@ -246,6 +246,7 @@ class Config {
|
|||
*/
|
||||
checkSecretKey(secret) {
|
||||
if (_.isNil(secret) === false) {
|
||||
this.secret = secret;
|
||||
return secret;
|
||||
}
|
||||
// it generates a secret key
|
||||
|
|
Loading…
Add table
Reference in a new issue