reasking about this, since it still fails on all of our email hosting virtualmin systems.
can’t reset user pass, while emailing existing pass works.
reset link, always returns :
Also when removing the package there is a stray orange link button left with Usermin logon to /virtualmin-password-recovery/usermin.cgi that is no longer appropriate.
The orange button code line is correctly edited out of /etc/webmin/custom-lang but is not edited out of /etc/usermin/custom-lang when executing dnf remove wbm-virtualmin-password-recovery for Rocky.
Can be fixed by editing or deleting file /etc/usermin/custom-lang. Safe to delete if there is only one line in file. To edit just delete the entire line with link text.
The issue has been properly fixed. I put up two PRs (GitHub Pull Requests), one PR with the workaround and the second PR which was a proper fix (also a one liner) that removed the need for the workaround. The second PR also fixed the problem of the of a remaining invalid link box in Usermin when the password recovery module is uninstalled.
Jamie accepted both PRs so the full fix will be in the next release of the password recovery module.
The full cause of the problem is that the recovery email is read from a file, along with the new line at the end of the email address. There is a line of code to remove the new line character but there was a variable misspelling. The unfiltered new line at the end of the recovery email address caused the email to corrupt with extraneous characters and text and with missing email fields.