fix: correct boolean condition for password change in UpdateProfile by lakhansamani · Pull Request #493 · authorizerdev/authorizer

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@lakhansamani

Copy link Copy Markdown

Contributor

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 lakhansamani merged commit c22cdb9 into main

Mar 1, 2026

@lakhansamani lakhansamani deleted the fix/update-profile-password-condition branch

March 1, 2026 07:05

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

UpdateProfile password change has wrong boolean condition

1 participant

@lakhansamani