Updated so Root/User/Login all do the samething

Bryan Roe committed Apr 23, 2020 at 10:08 UTC ba9b124668913bc1575858cb983c70d1fa0c71ef
1 file changed +2 -1
agents/recoverycore.js
+2 -1
@@ -249,7 +249,8 @@ require('MeshAgent').AddCommandHandler(function (data) {
249 // Take a look at the protocol
250 this.httprequest.protocol = parseInt(data);
251 if (typeof this.httprequest.protocol != 'number') { this.httprequest.protocol = 0; }
252 - if (this.httprequest.protocol == 1) {
252 + if ((this.httprequest.protocol == 1) || (this.httprequest.protocol == 6) || (this.httprequest.protocol == 8) || (this.httprequest.protocol == 9))
253 + {
254 // Remote terminal using native pipes
255 if (process.platform == "win32")
256 {