[PR #6673] [MERGED] allow MasterPasswordHash for Android #7462

Closed
opened 2026-03-07 21:18:01 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/6673
Author: @stefan0xC
Created: 1/6/2026
Status: Merged
Merged: 1/6/2026
Merged by: @BlackDex

Base: mainHead: allow-account-deletion


📝 Commits (1)

  • 8b0e1de allow MasterPasswordHash for Android

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 src/api/mod.rs (+1 -0)

📄 Description

If you try to delete your account in the Android app this currently fails with No validation provided.

[2026-01-06 13:16:25.721][request][INFO] DELETE /api/accounts
[2026-01-06 13:16:25.725][vaultwarden::api][ERROR] No validation provided
[2026-01-06 13:16:25.725][response][INFO] (delete_account) DELETE /api/accounts => 400 Bad Request

To replicate:

  1. Go to "Settings" > "Account security"
  2. Scroll down to "Delete account" and click on it
  3. Click again on the red "Delete account" button that pops up.
  4. Enter your password to verify and click "Submit".
Screenshot_20260106-131520

As far as I've looked into it this is because the request is using MasterPasswordHash and not masterPasswordHash.


🔄 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/6673 **Author:** [@stefan0xC](https://github.com/stefan0xC) **Created:** 1/6/2026 **Status:** ✅ Merged **Merged:** 1/6/2026 **Merged by:** [@BlackDex](https://github.com/BlackDex) **Base:** `main` ← **Head:** `allow-account-deletion` --- ### 📝 Commits (1) - [`8b0e1de`](https://github.com/dani-garcia/vaultwarden/commit/8b0e1dee65ac4048e597d9904354f0f37e20c193) allow MasterPasswordHash for Android ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/api/mod.rs` (+1 -0) </details> ### 📄 Description If you try to delete your account in the Android app this currently fails with `No validation provided`. ``` [2026-01-06 13:16:25.721][request][INFO] DELETE /api/accounts [2026-01-06 13:16:25.725][vaultwarden::api][ERROR] No validation provided [2026-01-06 13:16:25.725][response][INFO] (delete_account) DELETE /api/accounts => 400 Bad Request ``` To replicate: 1. Go to "Settings" > "Account security" 2. Scroll down to "Delete account" and click on it 3. Click again on the red "Delete account" button that pops up. 4. Enter your password to verify and click "Submit". <img width="720" height="1600" alt="Screenshot_20260106-131520" src="https://github.com/user-attachments/assets/6121a54a-b563-40f6-98f6-61902e7c8897" /> As far as I've looked into it this is because the request is using [`MasterPasswordHash`](https://github.com/bitwarden/android/blob/f02b374e989600a8458d2884abd2526244241c8a/network/src/main/kotlin/com/bitwarden/network/model/DeleteAccountRequestJson.kt#L14) and not `masterPasswordHash`. --- <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-03-07 21:18:01 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#7462