Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-504

JS: auth: isAuthenticated returns true when no 'module' is attached

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • 1.0.0.M6
    • 1.0.0.M5
    • javascript
    • None

    Description

      I noticed some interesting behavior with the 'isAuthenticated' function.

      It returns TRUE even when the pipe is not authenticated, because a
      wrong(or no) authenticator has been attached,

      See:

      https://gist.github.com/3812824

      IMO it should return FALSE when no authenticator is attached. Even on
      a 'pipe connection' where no auth is required, the
      'isAuthenticated:false' would be still wrong, as the connection is not
      authenticated - since not required...

      Attachments

        Activity

          People

            kborchers Kris Borchers (Inactive)
            mwessend@redhat.com Matthias Wessendorf
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: