Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-205

'authenticated' event

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.4.8
    • Affects Version/s: 1.4.8
    • Component/s: None
    • Labels:
    • Environment:
      OS X Mavericks 10.9.3

      Hello,

      The 'authenticated' event in the DB object is never emitted. I noticed that in the line 675 of 'lib/mongodb/db.js' the condition to emit this event is 'self.listeners("authenticated").length > 9'. Why it is not '> 0'?

      Thank you in advance,

      Alejandro

            Assignee:
            christkv Christian Amor Kvalheim
            Reporter:
            alejandrocgf@me.com Alejandro Carretero
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: