Mercurial > prosody-modules
view mod_adhoc_blacklist/README.markdown @ 3568:6b3181fe5617
mod_auth_token: Timezone fix for TOTP checking
luatz.time() returns milliseconds since epoch which is in UTC time, so we don't
need to convert to UTC with gmtime.
By calling gmtime, TOTP validation was failing when this module wasn't running
on machine set to UTC time.
author | JC Brand <jc@opkode.com> |
---|---|
date | Thu, 02 May 2019 11:07:27 +0200 |
parents | 262cce6487bc |
children |
line wrap: on
line source
--- summary: 'Block remote servers via ad-hoc command' ... Introduction ============ This module provides the *Edit Blacklist* ad-hoc command described in [XEP-0133](http://xmpp.org/extensions/xep-0133.html#edit-blacklist) and also performs the actual blocking of incoming and outgoing server-to-server connections. Using ===== In your client, simply select the Edit Blacklist command from the list of adhoc commands. E.g. in Pidgin, this is under *Accounts -\> (your account)* in the menu.