Hi.
I started Requesting it in che IRC-chan but I think here is the better Platform.
I would like to make it possible, that my irc-users can request a new Password if they lost their one.
The Problem is, that I use "EncModule 'enc_old' " so Sendpass wont work. But I think with an additional Module "ns_newpass"
it could also be possible.
How the Module should act for users:
It should act in two ways because otherwise it might be used abusively:
If a user types /ns newpass
my@email.comAnope sends by the sendmail-command (specified in the services.conf) an eMail with an crypted activation-command like "Type '/ns confirmnewpass 340378c(F("4hdjkp93ß58' to send you the new password. Remember: After that, your old Password will be lost!". Then the new password will be sent.
I think this must happen in this two ways, because for one account cant exist two passwords. If it would send suddenly the new password per eMail also anope-services must change the users password. But if its just a jokingly user who wants to harm another one, its not qiet a friendly solution... so with the first "/ns newpass" a temporary passwordfile for the user will be created (maybe in a seperate .db like in hs_request) and if the user does not use the password-activation-command in the specified time (this might be configurable or hardcoded to 24h I think) the temporary file will be deleted. If the activationcode is used nickserv might do saset password nick...
To prevent abusive usage users should hide their eMailadress. Maybe the admin sets it to default on reg.
What do you think might it be possible? I think this would be very nice