Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Refuse API key if user is disabled #293
While testing the REST API, I noticed that disabled administrators are still able to generate API keys as well as use their existing ones.
This adjusts the authentication logic to block access for disabled administrators.
The tests are currently failing on master, I will address those in another PR.