diff --git a/crates/core/database/src/drivers/mod.rs b/crates/core/database/src/drivers/mod.rs index 9618ee13..f5dd67db 100644 --- a/crates/core/database/src/drivers/mod.rs +++ b/crates/core/database/src/drivers/mod.rs @@ -69,7 +69,7 @@ impl DatabaseInfo { .await; #[cfg(not(feature = "mongodb"))] - return Err("MongoDB not enabled.".to_string()) + return Err("MongoDB not enabled.".to_string()); } else { DatabaseInfo::Reference.connect().await } @@ -90,7 +90,7 @@ impl DatabaseInfo { .await; #[cfg(not(feature = "mongodb"))] - return Err("MongoDB not enabled.".to_string()) + return Err("MongoDB not enabled.".to_string()); } _ => unreachable!("must specify REFERENCE or MONGODB"), } @@ -137,7 +137,7 @@ impl Database { .api .smtp .reply_to - .unwrap_or("support@revolt.chat".into()), + .unwrap_or("support@stoat.chat".into()), ), port: config.api.smtp.port, use_tls: config.api.smtp.use_tls, @@ -147,19 +147,19 @@ impl Database { templates: if config.production { Templates { verify: Template { - title: "Verify your Revolt account.".into(), + title: "Verify your Stoat account.".into(), text: include_str!("../../templates/verify.txt").into(), url: format!("{}/login/verify/", config.hosts.app), html: Some(include_str!("../../templates/verify.html").into()), }, reset: Template { - title: "Reset your Revolt password.".into(), + title: "Reset your Stoat password.".into(), text: include_str!("../../templates/reset.txt").into(), url: format!("{}/login/reset/", config.hosts.app), html: Some(include_str!("../../templates/reset.html").into()), }, reset_existing: Template { - title: "You already have a Revolt account, reset your password." + title: "You already have a Stoat account, reset your password." .into(), text: include_str!("../../templates/reset-existing.txt").into(), url: format!("{}/login/reset/", config.hosts.app), diff --git a/crates/core/database/templates/reset.whitelabel.txt b/crates/core/database/templates/reset.whitelabel.txt index 9ac5028f..b8c4adc9 100644 --- a/crates/core/database/templates/reset.whitelabel.txt +++ b/crates/core/database/templates/reset.whitelabel.txt @@ -4,6 +4,6 @@ Please navigate to: {{url}} This email is intended for {{email}} -This email has no association with Revolt or Revolt Platforms Ltd. +This email has no association with Stoat or Revolt Platforms Ltd. Learn more about third party instances here: https://developers.revolt.chat/faq.html diff --git a/crates/core/database/templates/verify.whitelabel.txt b/crates/core/database/templates/verify.whitelabel.txt index fb54088d..547128b9 100644 --- a/crates/core/database/templates/verify.whitelabel.txt +++ b/crates/core/database/templates/verify.whitelabel.txt @@ -5,6 +5,6 @@ Please navigate to: {{url}} This email is intended for {{email}} -This email has no association with Revolt or Revolt Platforms Ltd. +This email has no association with Stoat or Revolt Platforms Ltd. Learn more about third party instances here: https://developers.revolt.chat/faq.html