#1439 provide a console command for mod_reset_password
Reporter
rra
Owner
Nobody
Created
Updated
Stars
★ (1)
Tags
Type-Enhancement
Status-Fixed
Milestone-13.0
Priority-Medium
rra
on
Description of feature:
provide a telnet console command to interact with mod_reset_password and document it in the module readme.
Motivation: (Why?)
It doesn't exist yet and it is not clear how to use the module currently.
Thank you!
Zash
on
$ ./prosodyctl shell help invite
Help: invite
Create and manage invitations
-----------------------------
invite create_account <user_jid>
Create an invitation to make an account on this server with the specified JID (supply only a hostname to allow any username)
Flags:
--expires-after <expires_after>
--role <role>, ...
invite create_contact <user_jid>
Create an invitation to become contacts with the specified user
Flags:
--allow-registration
--expires-after <expires_after>
invite create_reset <user_jid>
Create a password reset link for the specified user
Flags:
--expires-after <expires_after>
invite delete <host> <token>
Delete/revoke an invitation token
invite list <host>
List pending invitations which allow account registration
invite show <host> <token>
Show details of an account invitation token
Description of feature: provide a telnet console command to interact with mod_reset_password and document it in the module readme. Motivation: (Why?) It doesn't exist yet and it is not clear how to use the module currently. Thank you!
$ ./prosodyctl shell help invite Help: invite Create and manage invitations ----------------------------- invite create_account <user_jid> Create an invitation to make an account on this server with the specified JID (supply only a hostname to allow any username) Flags: --expires-after <expires_after> --role <role>, ... invite create_contact <user_jid> Create an invitation to become contacts with the specified user Flags: --allow-registration --expires-after <expires_after> invite create_reset <user_jid> Create a password reset link for the specified user Flags: --expires-after <expires_after> invite delete <host> <token> Delete/revoke an invitation token invite list <host> List pending invitations which allow account registration invite show <host> <token> Show details of an account invitation token
Changes