fixed emulated.nac import

This commit is contained in:
Steven Burnham 2023-12-07 21:48:00 -05:00
parent 49f472a8f8
commit 967b8ec607
No known key found for this signature in database
GPG key ID: D765679712A2FC3D

View file

@ -115,9 +115,9 @@ class IDSUser:
self.restore_identity(id_keypair)
else:
logging.info("Registering new identity...")
import emulated.nac
import pypush.emulated.nac
vd = emulated.nac.generate_validation_data()
vd = pypush.emulated.nac.generate_validation_data()
vd = b64encode(vd).decode()
self.register(vd)