🔄 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/6141
**Author:** [@Timshel](https://github.com/Timshel)
**Created:** 8/6/2025
**Status:** ✅ Merged
**Merged:** 8/7/2025
**Merged by:** [@dani-garcia](https://github.com/dani-garcia)
**Base:** `main` ← **Head:** `check_kdf`
---
### 📝 Commits (1)
- [`d5085ca`](https://github.com/dani-garcia/vaultwarden/commit/d5085cacd20b38caaf7bf5c5ee609fbaee3a928b) Perform same checks when setting kdf
### 📊 Changes
**1 file changed** (+30 additions, -27 deletions)
<details>
<summary>View changed files</summary>
📝 `src/api/core/accounts.rs` (+30 -27)
</details>
### 📄 Description
In the SSO PR it was [recommended](https://github.com/dani-garcia/vaultwarden/pull/3899#discussion_r2254247199) to check the kdf settings in `post_set_password`.
Since it seemed logical to apply it to the register endpoint decided to create this PR too.
From what I can see the `Option` for `kdf` and `kdf_iterations` was not necessary:
- Old [register.request.ts](https://github.com/bitwarden/clients/blob/web-v2025.1.1/libs/common/src/models/request/register.request.ts)
- [register-finish.request](https://github.com/bitwarden/clients/blob/main/libs/common/src/auth/models/request/registration/register-finish.request.ts)
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/6141
Author: @Timshel
Created: 8/6/2025
Status: ✅ Merged
Merged: 8/7/2025
Merged by: @dani-garcia
Base:
main← Head:check_kdf📝 Commits (1)
d5085caPerform same checks when setting kdf📊 Changes
1 file changed (+30 additions, -27 deletions)
View changed files
📝
src/api/core/accounts.rs(+30 -27)📄 Description
In the SSO PR it was recommended to check the kdf settings in
post_set_password.Since it seemed logical to apply it to the register endpoint decided to create this PR too.
From what I can see the
Optionforkdfandkdf_iterationswas not necessary:🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.