Microservice to bring 2FA to self hosted PDSes
91
fork

Configure Feed

Select the types of activity you want to include in your feed.

add error log when 2FA can't be enabled

authored by

Kuba Suder and committed by tangled.org 750a68c0 483c4784

+4 -1
+4 -1
src/xrpc/com_atproto_server.rs
··· 233 233 .bind(&did_row.0) 234 234 .execute(&state.pds_gatekeeper_pool) 235 235 .await 236 - .map_err(|_| StatusCode::BAD_REQUEST)?; 236 + .map_err(|err| { 237 + log::error!("Error enabling 2FA: {err}"); 238 + StatusCode::BAD_REQUEST 239 + })?; 237 240 238 241 Ok(StatusCode::OK.into_response()) 239 242 }