File

doc/hgrc-email.ini @ 13638:94462d8f2fa9

mod_tokenauth: Fix expiry lasting one second too much Because the code was using `< now` in a lot of places, things expiring at the current second wouldn't be marked as expired. It isn't noticeable in real-world scenarios but I wanted to create OAuth 2.0 tokens valid for 0 second in integration tests and it wasn't possible. By using `<=` instead of `<`, we make sure tokens don't live a single millisecond more than what they are supposed to.
author Rémi Bardon <remi@remibardon.name>
date Sat, 01 Feb 2025 20:45:28 +0100
parent 13130:0b650a54ff9a
line wrap: on
line source

# Settings for using `hg email`

[email]
# See `hg help config.email`
to = prosody-dev@googlegroups.com

[smtp]
# See `hg help config.smtp`
host = mail.example.com
port = submission
tls = starttls
username =

[extensions]
# command to send changesets as (a series of) patch emails
patchbomb =