@iobroker/socket-classes 2.2.3 → 2.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/lib/socketCommon.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1018,7 +1018,7 @@ Unsubscribe from file changes in ioBroker DB
|
|
|
1018
1018
|
Placeholder for the next version (at the beginning of the line):
|
|
1019
1019
|
### **WORK IN PROGRESS**
|
|
1020
1020
|
-->
|
|
1021
|
-
### 2.2.
|
|
1021
|
+
### 2.2.4 (2025-04-01)
|
|
1022
1022
|
|
|
1023
1023
|
* (@GermanBluefox) Changed the order of authentications. Basic authentication will be checked as the last one.
|
|
1024
1024
|
* (@GermanBluefox) Added the setting to disable basic authentication
|
package/dist/lib/socketCommon.js
CHANGED
|
@@ -343,7 +343,7 @@ class SocketCommon {
|
|
|
343
343
|
this.__getUserFromSocket(socket, (err, user, expirationTime) => {
|
|
344
344
|
if (err || !user) {
|
|
345
345
|
socket.emit(SocketCommon.COMMAND_RE_AUTHENTICATE);
|
|
346
|
-
this.adapter.log.
|
|
346
|
+
this.adapter.log.silly(`socket.io [init] ${err || 'No user found in cookies'}`);
|
|
347
347
|
// ws does not require disconnect
|
|
348
348
|
if (!this.noDisconnect) {
|
|
349
349
|
socket.close();
|