AnthonyMusgrove / Emby-ScripterX

Run custom external application or script (batch/bash/powershell/php/python/node.js/custom) on various events within the Emby Server.
https://emby-scripterx.com
76 stars 6 forks source link

Incorrect context values for _onAuthenticationFailed #39

Closed Slugger closed 2 years ago

Slugger commented 4 years ago

Describe the bug In the context for this event, the %user.id% token is always set to 0, even for user ids that exist.

To Reproduce Steps to reproduce the behavior:

  1. Install package with _onAuthenticationFailed handler
  2. Trigger the handler
  3. View the received context

Expected behavior The %user.id% token is set based on the username received.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

AnthonyMusgrove commented 4 years ago

I think this is the emby default mate, I shall follow it up and let you know