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

feat: fix login with password bug when feature is disabled #1428

Merged
merged 1 commit into from Dec 27, 2022

Conversation

notdu
Copy link
Contributor

@notdu notdu commented Dec 26, 2022

Prevent users from logging in with a password through the API when the login with password feature is disabled.
This enhances security on the backend server.

@casbin-bot
Copy link
Contributor

@seriouszyx @ComradeProgrammer @Resulte please review

@CLAassistant
Copy link

CLAassistant commented Dec 26, 2022

CLA assistant check
All committers have signed the CLA.

@hsluoyz
Copy link
Member

hsluoyz commented Dec 26, 2022

@notdu fix:

image

@notdu
Copy link
Contributor Author

notdu commented Dec 26, 2022

@hsluoyz fixed, help me to check it again.

@hsluoyz
Copy link
Member

hsluoyz commented Dec 27, 2022

@notdu your GitHub user and commit author should be the same person, this is why the CLA doesn't pass

image

@notdu notdu force-pushed the fix/security-enable-password branch from 3bba346 to f5666ca Compare December 27, 2022 04:35
@notdu
Copy link
Contributor Author

notdu commented Dec 27, 2022

@hsluoyz, i fixed it
Thanks

@hsluoyz hsluoyz changed the title fix: login with password bug when feature is disabled feat: fix login with password bug when feature is disabled Dec 27, 2022
@hsluoyz hsluoyz merged commit c952c2f into casdoor:master Dec 27, 2022
@casbin-bot
Copy link
Contributor

🎉 This PR is included in version 1.198.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

zhaobingchun pushed a commit to zhaobingchun/casdoor that referenced this pull request Jan 5, 2024
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.

None yet

4 participants