Skip to content

fix(auth): restore password settings access#554

Merged
dongmucat merged 5 commits into
mainfrom
fix/auth-password-settings
Jun 24, 2026
Merged

fix(auth): restore password settings access#554
dongmucat merged 5 commits into
mainfrom
fix/auth-password-settings

Conversation

@dongmucat

Copy link
Copy Markdown
Collaborator

Summary

Fixes #541.

Restore the password settings flow by exposing a backend-authoritative canChangePassword capability and using it in the settings UI so local-password users can reach the security page while OAuth-only users see an unavailable state.

Changes

  • Add canChangePassword to auth responses based on local credential existence.
  • Keep password-change enforcement on the backend unchanged.
  • Update generated API schema and frontend settings/security rendering.
  • Cover local-password and OAuth-only flows with backend, frontend, and E2E tests.

Verification

  • Backend tests passed.
  • Web build/test passed.
  • Real-services E2E passed on the same commit before PR replacement; checks will re-run on this PR.

Merge note

No merge into main was performed.

Signed-off-by: dongmucat <1127093059@qq.com>
Signed-off-by: dongmucat <1127093059@qq.com>
Signed-off-by: dongmucat <1127093059@qq.com>
Signed-off-by: dongmucat <1127093059@qq.com>
Signed-off-by: dongmucat <1127093059@qq.com>
@dongmucat dongmucat merged commit 8413ee3 into main Jun 24, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] 最新版本没办法修改密码

1 participant