-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
feat: add config option to allow disabling Basic authentication #6689
feat: add config option to allow disabling Basic authentication #6689
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6689 +/- ##
============================================
- Coverage 58.29% 57.99% -0.31%
- Complexity 3963 3978 +15
============================================
Files 680 696 +16
Lines 23338 23521 +183
Branches 1584 1569 -15
============================================
+ Hits 13604 13640 +36
- Misses 9108 9258 +150
+ Partials 626 623 -3 ☔ View full report in Codecov by Sentry. |
application/src/main/java/run/halo/app/infra/properties/SecurityProperties.java
Outdated
Show resolved
Hide resolved
9adc12e
to
a2b9468
Compare
336287f
to
4a7159a
Compare
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JohnNiang The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/milestone 2.20.x
/area core
/kind improvement
What this PR does / why we need it:
允许通过
halo.security.basic-auth.disabled=true
配置来禁用 Basic Auth 认证Which issue(s) this PR fixes:
Fixes #5408
Does this PR introduce a user-facing change?