Details
Details
- Reviewers
kamil ashoat - Commits
- rCOMM507081c04dad: [lib] Log out on failed Tunnelbroker auth
Mocked the initialization message to contain invalid CSAT. The device was logged out.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
lib/tunnelbroker/tunnelbroker-context.js | ||
---|---|---|
299–302 ↗ | (On Diff #45863) | Doing return here doesn't change the context state, so it's still "awaiting connection" (connected = false). After the hook logs out the user, the createInitMessage() will start returning null and the connection will be closed. |