Skip to content

Commit b190486

Browse files
authored
Add support for auth-agent
1 parent e40ca05 commit b190486

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

lib/server.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -794,6 +794,17 @@ function Session(client, info, localChan) {
794794
break;
795795
// XXX: is `[email protected]` really "post-real session start"?
796796
797+
/*
798+
//i want to fix stuffs here !!
799+
accept = function() {
800+
801+
channel = new Channel(chaninfo, client, { server: true });
802+
//channel should be of type auth socket, but i dont now how to fix it
803+
return channel;
804+
}
805+
806+
*/
807+
797808
if (listenerCount(self, 'auth-agent'))
798809
self.emit('auth-agent', accept, reject);
799810
else

0 commit comments

Comments
 (0)