Skip to content

Commit

Permalink
fixing usertokentype
Browse files Browse the repository at this point in the history
  • Loading branch information
manfredipist committed Dec 3, 2024
1 parent dc197f6 commit b02cfd0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/bindings/OPCUABinding.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
/* eslint-disable no-unused-vars */

const opcua = require('node-opcua');
const opcuaTypes = require('node-opcua-types');
const async = require('async');
const fs = require('fs');
const os = require('os');
Expand Down Expand Up @@ -151,7 +152,8 @@ async function createSession() {
if (username && password) {
userIdentity = {
userName: username,
password: password
password: password,
type: opcuaTypes.UserTokenType.UserName
};
}

Expand Down

0 comments on commit b02cfd0

Please sign in to comment.