Microservice to bring 2FA to self hosted PDSes

Compare changes

Choose any two refs to compare.

Changed files
+4 -1
src
+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 }