-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Allow to disable the password-based login (sign-in) form #32687
Merged
wxiaoguang
merged 4 commits into
go-gitea:main
from
wxiaoguang:supprt-enable-password-form
Dec 1, 2024
Merged
Allow to disable the password-based login (sign-in) form #32687
wxiaoguang
merged 4 commits into
go-gitea:main
from
wxiaoguang:supprt-enable-password-form
Dec 1, 2024
+73
−48
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GiteaBot
added
the
lgtm/need 2
This PR needs two approvals by maintainers to be considered for merging.
label
Dec 1, 2024
pull-request-size
bot
added
the
size/L
Denotes a PR that changes 100-499 lines, ignoring generated files.
label
Dec 1, 2024
github-actions
bot
added
modifies/go
Pull requests that update Go code
modifies/templates
This PR modifies the template files
docs-update-needed
The document needs to be updated synchronously
labels
Dec 1, 2024
This was referenced Dec 1, 2024
wxiaoguang
force-pushed
the
supprt-enable-password-form
branch
from
December 1, 2024 16:29
cbaad1d
to
86dd4ac
Compare
This is perfect! Can’t wait because this is basicly a security measure as well. Thanks :-) |
wxiaoguang
added
the
type/feature
Completely new functionality. Can only be merged if feature freeze is not active.
label
Dec 1, 2024
delvh
approved these changes
Dec 1, 2024
GiteaBot
added
lgtm/need 1
This PR needs approval from one additional maintainer to be merged.
and removed
lgtm/need 2
This PR needs two approvals by maintainers to be considered for merging.
labels
Dec 1, 2024
wxiaoguang
changed the title
Allow to disable the password-based login form
Allow to disable the password-based login (sign-in) form
Dec 1, 2024
lunny
approved these changes
Dec 1, 2024
GiteaBot
added
lgtm/done
This PR has enough approvals to get merged. There are no important open reservations anymore.
and removed
lgtm/need 1
This PR needs approval from one additional maintainer to be merged.
labels
Dec 1, 2024
lunny
approved these changes
Dec 2, 2024
zjjhot
added a commit
to zjjhot/gitea
that referenced
this pull request
Dec 2, 2024
* giteaofficial/main: Refactor RepoBranchTagSelector (go-gitea#32681) Allow to disable the password-based login (sign-in) form (go-gitea#32687) Fix JS error when reply comment on Conversation page (go-gitea#32685) fix(go-gitea#32667): 🐛 Fixe a keystring misuse and refactor duplicates keystrings (go-gitea#32668)
Need to fix a regression: Fix oauth2 login methods #32698 |
lunny
pushed a commit
that referenced
this pull request
Dec 3, 2024
Regression of #32687 It should use "or" but not "and", otherwise the oauth2 methods won't show when no ENABLE_OPENID_SIGNIN
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
docs-update-needed
The document needs to be updated synchronously
lgtm/done
This PR has enough approvals to get merged. There are no important open reservations anymore.
modifies/go
Pull requests that update Go code
modifies/templates
This PR modifies the template files
size/L
Denotes a PR that changes 100-499 lines, ignoring generated files.
type/feature
Completely new functionality. Can only be merged if feature freeze is not active.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Usually enterprise/organization users would like to only allow OAuth2 login.
This PR adds a new config option to disable the password-based login form. It is a simple and clear approach and won't block the future login-system refactoring works.
https://gitea.com/gitea/docs/pulls/110
Fix a TODO in #24821
Replace #21851
Close #7633 , close #13606
Screenshots: