[PR #4975] [MERGED] Fix keyword collision in Rust 2024 and add new api/config value #31156

Closed
opened 2026-06-17 11:09:18 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/4975
Author: @dani-garcia
Created: 9/20/2024
Status: Merged
Merged: 9/20/2024
Merged by: @dani-garcia

Base: mainHead: 2024-updates-and-config-endpoint


📝 Commits (3)

  • 9ec2e30 Avoid keyword collision with gen in Rust 2024
  • 0268848 Include new api/config setting to disable user registration, not yet used by clients
  • b383378 Actually qualify CONFIG

📊 Changes

2 files changed (+13 additions, -10 deletions)

View changed files

📝 src/api/core/mod.rs (+3 -0)
📝 src/config.rs (+10 -10)

📄 Description

disableUserRegistration is still not handled by the clients but it should happen soon https://github.com/bitwarden/server/pull/4785/files


🔄 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/4975 **Author:** [@dani-garcia](https://github.com/dani-garcia) **Created:** 9/20/2024 **Status:** ✅ Merged **Merged:** 9/20/2024 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `2024-updates-and-config-endpoint` --- ### 📝 Commits (3) - [`9ec2e30`](https://github.com/dani-garcia/vaultwarden/commit/9ec2e3034a631e901564c9e0e799565e9e049126) Avoid keyword collision with gen in Rust 2024 - [`0268848`](https://github.com/dani-garcia/vaultwarden/commit/02688483eddb55ab11d62b7c7953f7fe32737c7a) Include new api/config setting to disable user registration, not yet used by clients - [`b383378`](https://github.com/dani-garcia/vaultwarden/commit/b3833786bacbe2aad9efd3c7917f4527b51fa8fe) Actually qualify CONFIG ### 📊 Changes **2 files changed** (+13 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `src/api/core/mod.rs` (+3 -0) 📝 `src/config.rs` (+10 -10) </details> ### 📄 Description `disableUserRegistration` is still not handled by the clients but it should happen soon https://github.com/bitwarden/server/pull/4785/files --- <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-06-17 11:09:18 -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#31156