Mercurial > prosody-modules
view mod_password_reset/README.markdown @ 5925:32d1abb89dfe
mod_rest: Reject password that fails saslprep earlier (thanks tgy)
Prevents an error later if/when passing the password through saslprep a
second time in the authentication module, since the prep functions now
reject nil
The error reporting could be improved but that would involve adding a
way to pass errors back out of the check_credentials() function.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 04 Jul 2024 16:06:32 +0200 |
parents | 660160fe97fa |
children |
line wrap: on
line source
--- labels: - 'Stage-Alpha' summary: 'Enables users to reset their password via a link' rockspec: build: copy_directories: - password_reset ... Introduction ============ This module allows users to reset their password via a simple link to a web page. Reset links may be generated by an admin through their XMPP client using the ad-hoc command that this module provides. Alternatively other modules may reuse this module to generate links and e.g. send them via email to the user directly. A link is only valid for a single reset, and expires after a duration (24 hours by default). This module depends on Prosody's internal webserver. Compatibility ============= ----- ------- 0.10 Works ----- ------- trunk Works ----- -------