aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_user_account_management.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_user_account_management: Fire events with a fake (not destroyed) sessionMatthew Wild2023-11-301-3/+24
| | | | | | | Previously these events fired after the session had been destroyed, which removes many of the useful properties. The ones I chose to preserve here are the ones used by the community module mod_audit, which seems like a good baseline.
* mod_user_account_management: Add support for soft-deletion of accounts via IBRMatthew Wild2023-11-301-13/+137
| | | | | | | | | | | | When registration_delete_grace_period is set, accounts will be disabled for the specified grace period before they are fully deleted. During the grace period, accounts can be restored with the user:restore() shell command. The primary purpose is to prevent accidental or malicious deletion of a user's account, which is traditionally very easy for any XMPP client to do with a single stanza.
* plugins: Prefix module imports with prosody namespaceKim Alvefur2023-03-241-5/+5
|
* mod_user_account_management: Apply username normalization laterKim Alvefur2019-11-021-1/+2
| | | | Prevents traceback from nodeprep(nil)
* mod_register: Split into mod_register_ibr and mod_user_account_management (#723)Kim Alvefur2017-10-071-0/+86
- mod_register_ibr handles in-band registration - mod_user_account_management handles password change and user deletion