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
No Lint Coverage - Unit
No Test Coverage
Event Timeline
lib/tunnelbroker/tunnelbroker-context.js | ||
---|---|---|
299–302 | 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. |