aboutsummaryrefslogtreecommitdiff
path: root/src/api/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/core')
-rw-r--r--src/api/core/accounts.rs2
-rw-r--r--src/api/core/ciphers.rs2
-rw-r--r--src/api/core/two_factor/duo.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/api/core/accounts.rs b/src/api/core/accounts.rs
index c9390cf7..3888075b 100644
--- a/src/api/core/accounts.rs
+++ b/src/api/core/accounts.rs
@@ -95,7 +95,7 @@ fn register(data: JsonUpcase<RegisterData>, conn: DbConn) -> EmptyResult {
}
None => {
// Order is important here; the invitation check must come first
- // because the bitwarden_rs admin can invite anyone, regardless
+ // because the vaultwarden admin can invite anyone, regardless
// of other signup restrictions.
if Invitation::take(&data.Email, &conn) || CONFIG.is_signup_allowed(&data.Email) {
User::new(data.Email.clone())
diff --git a/src/api/core/ciphers.rs b/src/api/core/ciphers.rs
index fa9fd6ed..0f655f76 100644
--- a/src/api/core/ciphers.rs
+++ b/src/api/core/ciphers.rs
@@ -25,7 +25,7 @@ pub fn routes() -> Vec<Route> {
// whether the user is an owner/admin of the relevant org, and if so,
// allows the operation unconditionally.
//
- // bitwarden_rs factors in the org owner/admin status as part of
+ // vaultwarden factors in the org owner/admin status as part of
// determining the write accessibility of a cipher, so most
// admin/non-admin implementations can be shared.
routes![
diff --git a/src/api/core/two_factor/duo.rs b/src/api/core/two_factor/duo.rs
index 20d03a7c..5ca87085 100644
--- a/src/api/core/two_factor/duo.rs
+++ b/src/api/core/two_factor/duo.rs
@@ -207,7 +207,7 @@ fn duo_api_request(method: &str, path: &str, params: &str, data: &DuoData) -> Em
client
.request(m, &url)
.basic_auth(username, Some(password))
- .header(header::USER_AGENT, "bitwarden_rs:Duo/1.0 (Rust)")
+ .header(header::USER_AGENT, "vaultwarden:Duo/1.0 (Rust)")
.header(header::DATE, date)
.send()?
.error_for_status()?;