generate pairing token for new secrets
This commit is contained in:
parent
bae6af1f29
commit
82fd80e88b
|
@ -27,9 +27,10 @@ type Secrets struct {
|
|||
|
||||
func NewSecrets(pin, puk, pairingPass string) *Secrets {
|
||||
return &Secrets{
|
||||
pin: pin,
|
||||
puk: puk,
|
||||
pairingPass: pairingPass,
|
||||
pin: pin,
|
||||
puk: puk,
|
||||
pairingPass: pairingPass,
|
||||
pairingToken: generatePairingToken(pairingPass),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue