You've already forked AstralRinth
forked from didirus/AstralRinth
Minor Labrinth documentation and missing Sendy configuration handling tweaks (#3667)
* docs(contributing/labrinth): mention SMTP vars, add helpful Redis note * chore(labrinth): short-circuit Sendy usage successfully when not setup * chore: get rid of deprecated `docker-compose` version parameter
This commit is contained in:
committed by
GitHub
parent
e4f0dddf82
commit
ea9a3539eb
@@ -1296,6 +1296,11 @@ pub async fn sign_up_sendy(email: &str) -> Result<(), AuthenticationError> {
|
||||
let api_key = dotenvy::var("SENDY_API_KEY")?;
|
||||
let site_url = dotenvy::var("SITE_URL")?;
|
||||
|
||||
if url.is_empty() || url == "none" {
|
||||
tracing::info!("Sendy URL not set, skipping signup");
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
let mut form = HashMap::new();
|
||||
|
||||
form.insert("api_key", &*api_key);
|
||||
|
||||
Reference in New Issue
Block a user