Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip basic auth when auth token is set #511

Merged
merged 2 commits into from
Jan 1, 2024

Conversation

rafiramadhana
Copy link
Contributor

Resolves #509

Skip basic auth when auth token is set

In addition, I also rename basicAuth to authBasic for naming consistency with authToken

In addition, I also rename basicAuth to authBasic for naming consistency with authToken.
Copy link

codecov bot commented Jan 1, 2024

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (966a34d) 74.25% compared to head (1ecf229) 73.11%.

Files Patch % Lines
service/frontend/middleware/global.go 0.00% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #511      +/-   ##
==========================================
- Coverage   74.25%   73.11%   -1.15%     
==========================================
  Files          40       43       +3     
  Lines        3604     3678      +74     
==========================================
+ Hits         2676     2689      +13     
- Misses        789      850      +61     
  Partials      139      139              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yottahmd
Copy link
Collaborator

yottahmd commented Jan 1, 2024

LGTM, thanks a lot for the amazing PR!

@yottahmd yottahmd merged commit 22f3138 into dagu-org:main Jan 1, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement skipper middleware for basic-auth
2 participants