WIP
This commit is contained in:
parent
bcca339ea6
commit
ddd277afd6
5 changed files with 45 additions and 8 deletions
|
|
@ -53,6 +53,7 @@ module.exports = function (options) {
|
|||
|
||||
authMiddleware = function (req, res, next) {
|
||||
const deviceId = req.connection.getPeerCertificate().fingerprint
|
||||
console.log(deviceId)
|
||||
|
||||
return pair.isPaired(deviceId)
|
||||
.then(r => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue