tangled
alpha
login
or
join now
mackuba.eu
/
pds-gatekeeper
forked from
baileytownsend.dev/pds-gatekeeper
Microservice to bring 2FA to self hosted PDSes
0
fork
atom
overview
issues
pulls
pipelines
Compare changes
Choose any two refs to compare.
base:
sendmail
main
feature/MigrationsOnly
2fa_error_log
no tags found
compare:
sendmail
main
feature/MigrationsOnly
2fa_error_log
no tags found
go
+4
-1
1 changed file
expand all
collapse all
unified
split
src
xrpc
com_atproto_server.rs
+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
236
-
.map_err(|_| StatusCode::BAD_REQUEST)?;
236
236
+
.map_err(|err| {
237
237
+
log::error!("Error enabling 2FA: {err}");
238
238
+
StatusCode::BAD_REQUEST
239
239
+
})?;
237
240
238
241
Ok(StatusCode::OK.into_response())
239
242
}