Software / code / prosody-modules
Diff
mod_invites_page/mod_invites_page.lua @ 6245:ea58d2893afb
Merge update
| author | Trần H. Trung <xmpp:trần.h.trung@trung.fun> |
|---|---|
| date | Tue, 29 Apr 2025 23:27:06 +0700 |
| parent | 6232:d72010642b31 |
| parent | 6234:d68e640e76ad |
| child | 6278:fd765cdf20ff |
line wrap: on
line diff
--- a/mod_invites_page/mod_invites_page.lua Fri Apr 11 23:19:21 2025 +0700 +++ b/mod_invites_page/mod_invites_page.lua Tue Apr 29 23:27:06 2025 +0700 @@ -61,6 +61,8 @@ -- so the user will only receive a URI. The client should be able to handle this -- by automatically falling back to a client-specific landing page, per XEP-0401. if not invite.allow_registration then return; end + -- password reset invites are not currently supported + if invite.additional_data and invite.additional_data.allow_reset then return end invite.landing_page = render_url(invite_url_template, { host = module.host, invite = invite }); end