apisix-dashboard icon indicating copy to clipboard operation
apisix-dashboard copied to clipboard

Update authentication.go

Open marchlhw opened this issue 2 years ago • 0 comments

Please answer these questions before submitting a pull request, or your PR will get closed.

Why submit this pull request?

  • [x] Bugfix
  • [ ] New feature provided
  • [ ] Improve performance
  • [ ] Backport patches

What changes will this PR take into?

010013 with a 0 before it is treated as a base 8, and the client receives a response of 4107. In order to be treated as a decimal, the leading 0 must be removed

Related issues

Checklist:

  • [x] Did you explain what problem does this PR solve? Or what new features have been added?
  • [ ] Have you added corresponding test cases?
  • [ ] Have you modified the corresponding document?
  • [ ] Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

marchlhw avatar Dec 06 '23 02:12 marchlhw