Hi guys I’m trying do a user change password method via email and my current code is:
<html>
<body>
<p>Hello ${userInstance.user.username}, your password will be set to ${userInstance.new_pass} to finalise your password request, please click the link below.</p>
<h2><g:link controller="reset" action="reset" params="[id:userInstance.user.id]" absolute="true">Please change my password</g:link></h2>
</body>
The current link only sends the user ID param to my method in grails. I wish to send the password as a parameter too! What is a possible solution to send userInstance.new_pass via this link?
p.s. I’m using grails mail plugin.
have you tried this?