[PR #4577] [CLOSED] Disable Login with device if push is not enabled #21654

Closed
opened 2026-04-30 08:05:13 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/4577
Author: @Timshel
Created: 5/21/2024
Status: Closed

Base: mainHead: feature/device


📝 Commits (1)

  • 6454c7e Disable Login with device if push is not enabled

📊 Changes

1 file changed (+8 additions, -12 deletions)

View changed files

📝 src/api/core/accounts.rs (+8 -12)

📄 Description

I believe the knowndevice endpoint is only used to toggle the Login with device feature (Could not find any other reference in Bitwarden clients).

And unless I'm mistaken the Login with device only work if push is enabled.

Removed the compatibility method since the migration to the endpoint was merged on March 7 2023 in the clients (github.com/bitwarden/clients/pull/4710).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/4577 **Author:** [@Timshel](https://github.com/Timshel) **Created:** 5/21/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feature/device` --- ### 📝 Commits (1) - [`6454c7e`](https://github.com/dani-garcia/vaultwarden/commit/6454c7eea96bc54fd6540c895433d96018860f9f) Disable Login with device if push is not enabled ### 📊 Changes **1 file changed** (+8 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `src/api/core/accounts.rs` (+8 -12) </details> ### 📄 Description ~~I believe the `knowndevice` endpoint is only used to toggle the `Login with device` feature (Could not find any other reference in Bitwarden clients).~~ ~~And unless I'm mistaken the `Login with device` only work if push is enabled.~~ Removed the compatibility method since the migration to the endpoint was merged on March 7 2023 in the clients (github.com/bitwarden/clients/pull/4710). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-30 08:05:13 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#21654