Check user password before send mail

Hi
I would like to send an email only if the user provide his password (the same he use for login in the system).
The password is hashed with argon2.
I would like to provide a modal with an input text to insert the password.
Can someone explain me how to do that?
Thanks

Community Page
Last updated: