Base solution for your next web application
Open Closed

Why TokenAuth/Authenticate always returns 0 for userId #4107


User avatar
0
soonjoo created

Hello team,

After posting TokenAuth/Authenticate to log in, one of the returned parameters is userId, but it is always 0, is it supposed to be 0?

Thanks


2 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    No, it's not supposed to be 0.

    PR: <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/pull/558">https://github.com/aspnetzero/aspnet-zero-core/pull/558</a>

  • User Avatar
    0
    soonjoo created

    Thank you for your help, I have added that change to my code