Skip to content

[feature] Sign out of other devices when changing your own password #2898

Closed

Description

@Quick104

Problem

Changing your own password in Settings > Account leaves every other sign-in working: other browsers and apps, Jellyfin-compatible clients, Audiobookshelf-compatible clients, and device sign-ins you approved that the device hasn't collected yet. Someone who changes the password because they think it leaked doesn't lock out whoever used it. docs/auth-api.md documents this ("Changing the password does not revoke existing login sessions").

An administrator setting the password, and a reset link, already sign the account out everywhere. Self-service has no equivalent.

Who it affects

Any account that signs in with a local password, especially one shared by a household across TVs, phones and Jellyfin apps.

Current workaround

After changing the password, open Settings > Signed-in sessions and sign out each other session one at a time. Audiobookshelf-compatible sessions and approved device sign-ins aren't listed there, so they can't be ended this way. An admin can use Sign out everywhere, which also signs out the browser in use.

Proposed behavior

Keep today's default: changing the password signs nothing else out. Add an option, off by default, to sign out of other devices in the same step.

  • POST /api/v2/account/password accepts an optional sign_out_other_sessions boolean (default false). When it is true, the password change and the sign-outs happen in one transaction: every other login session of the account (including "View as user" sessions it opened), its Jellyfin- and Audiobookshelf-compatible sessions, and its approved, uncollected device sign-ins. The session making the change stays signed in. API keys survive, as they do after a reset.
  • After commit, every API node drops the Jellyfin-compatible sessions it holds in memory, as admin sign-out and password resets already do.
  • GET /api/v2/account/password/capability reports the option so clients can detect it.
  • The web password form gets an unticked Sign out of other devices checkbox.
  • /api/v1 stays frozen and unchanged.

Alternatives considered

  • Always sign out other sessions on a password change. That changes behavior people rely on, such as changing a password from a laptop without signing out the living-room TV.
  • A separate "sign out other sessions" button ([feature] Sign out of several sessions at once #2568). Useful on its own, but it's a second step the user has to know about, and it doesn't cover Audiobookshelf sessions or device approvals today.

AI harness

Claude Code (via T3 Code)

AI tool(s)

Claude Code, GitHub CLI

AI model(s)

claude-opus-5-5

AI involvement

AI-assisted

Independent or adversarial review

n/a

Confirmations

  • I searched open and closed issues, including ones closed as not planned, and this is not already requested
  • This is not one of Silo's non-goals

Source: internal code audit of main.

Activity

  1. added
    enhancement
    feature-request
    on Oct 22, 2026
  2. self-assigned this
    on Oct 22, 2026
  3. Quick104 commented on Oct 22, 2026

    @Quick104
    ContributorAuthor

    🤖 AI agent claim. Claude Code via T3 Code (claude-opus-5-5) is working on a fix for this issue on behalf of @Quick104, who is assigned.

    A pull request will link here when the fix is ready. If the work stops without a fix, the assignment and this comment are removed.

    Planning to work on this, or have context to add? Reply here and mention @Quick104.

  4. added
    impact: security
    priority: P2
    triaged
    on Oct 22, 2026
  5. added a commit that references this issue on Oct 31, 2026
    23003be
  6. added a commit that references this issue on Oct 31, 2026
    7ee9615
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementfeature-requestimpact: securitypriority: P2triaged

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions