feat: save T&C hash to the user_config
This commit is contained in:
parent
6c43f7536d
commit
7b951f961f
2 changed files with 28 additions and 2 deletions
|
|
@ -11,7 +11,6 @@ function sha256 (buf) {
|
|||
}
|
||||
|
||||
const populateDeviceId = function (req, res, next) {
|
||||
logger.info(`DEBUG LOG - Method: ${req.method} Path: ${req.path}`)
|
||||
const deviceId = _.isFunction(req.connection.getPeerCertificate)
|
||||
? sha256(req.connection.getPeerCertificate().raw)
|
||||
: null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue