Skip to content

[Web] Return 401 status code when API authorization fails#2993

Merged
andryyy merged 1 commit intomailcow:masterfrom
ntimo:task/api-unauth-status-code
Oct 2, 2019
Merged

[Web] Return 401 status code when API authorization fails#2993
andryyy merged 1 commit intomailcow:masterfrom
ntimo:task/api-unauth-status-code

Conversation

@ntimo
Copy link
Copy Markdown
Member

@ntimo ntimo commented Oct 2, 2019

This PR will return a 401 HTTP status code when the API authorization fails due to a invalid API key or a not whitelisted IP address.

@andryyy
Copy link
Copy Markdown
Contributor

andryyy commented Oct 2, 2019

Thanks!

@andryyy andryyy merged commit 7e44256 into mailcow:master Oct 2, 2019
@ntimo ntimo added the api label Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants