- added rate limiter on the
com.atproto.servce.createAccountend point so you can set stricter limits - having a
/pds/pds.envis no longer a hard requirment - fix a bug on
com.atproto.server.getSessionnot returning on oauth logins - bit more logging on errors
+2
-3
Cargo.toml
+2
-3
Cargo.toml
···-#lettre = { version = "0.11.18", default-features = false, features = ["pool", "tokio1-rustls", "smtp-transport", "hostname", "builder"] }-#lettre = { version = "0.11", default-features = false, features = ["builder", "webpki-roots", "rustls", "aws-lc-rs", "smtp-transport", "tokio1", "tokio1-rustls"] }-lettre = { version = "0.11", default-features = false, features = ["builder", "webpki-roots", "rustls", "aws-lc-rs", "smtp-transport", "tokio1", "tokio1-rustls"] }rustls = { version = "0.23", default-features = false, features = ["tls12", "std", "logging", "aws_lc_rs"] }+lettre = { version = "0.11", default-features = false, features = ["builder", "webpki-roots", "rustls", "aws-lc-rs", "smtp-transport", "tokio1", "tokio1-rustls"] }
+3
-3
Cargo.lock
+3
-3
Cargo.lock
·········
+1
examples/Caddyfile
+1
examples/Caddyfile
-2
src/middleware.rs
-2
src/middleware.rs
······
+7
README.md
+7
README.md
···+`GATEKEEPER_CREATE_ACCOUNT_PER_SECOND` - Sets how often it takes a count off the limiter. example if you hit the rate+limit of 5 and set to 60, then in 60 seconds you will be able to make one more. Or in 5 minutes be able to make 5 more.+`GATEKEEPER_CREATE_ACCOUNT_BURST` - Sets how many requests can be made in a burst. In the prior example this is where+the 5 comes from. Example can set this to 10 to allow for 10 requests in a burst, and after 60 seconds it will drop one