mod_compat_roles: Fix attempt to index a nil value #1847
permissions[] is not a map with role names as keys since 817bc9873fc2
but instead a level with host names were added. This was likely an
oversight.
Refactored towards railroad.
---
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
----- -------