fix: correct boolean condition for password change in UpdateProfile by lakhansamani · Pull Request #493 · authorizerdev/authorizer
Navigation Menu
{{ message }}
authorizerdev / authorizer Public
- Notifications You must be signed in to change notification settings
- Fork 204
Merged
fix: correct boolean condition for password change in UpdateProfile#493
lakhansamani merged 3 commits intomainfrom
fix: correct boolean condition for password change in UpdateProfile#493
lakhansamani merged 3 commits intomainfrom
Conversation
Copy link Copy Markdown
Contributor
lakhansamani
commented
Mar 1, 2026
lakhansamani
commented
Summary
- Changed
||to&&in password change guard condition - Password change is now only blocked when BOTH basic auth and mobile basic auth are disabled
Test plan
- Verify password change works when only one auth method is enabled
- Verify password change is blocked when both are disabled
Fixes #482
lakhansamani added 3 commits
March 1, 2026 11:50Changed OR to AND so password change is only blocked when BOTH basic auth and mobile basic auth are disabled, not when either is disabled. Fixes #482
lakhansamani
merged commit
c22cdb9
into
main
lakhansamani
deleted the
fix/update-profile-password-condition
branch
This file contains hidden or 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment