Blank password with mem_self_register 0.9.3

brunodario avatarbrunodario created an issue

I´m having an annoying problem when trying to make the user recevie a new password with mem_self_password_reset_form . The user actually receives an email but the password is blank. Using mem_form 0.8 , mem_self_register 0.9.3 and txp 4.3

Any clues about this?

Comments (6)

  1. brunodario

    Michael, thx for your quick response. Here are the tags:

    I call the form from the page with

     <txp:ign_if_logged_in>  
    bunch of things (text, img)...
    <txp:output_form form="esqueceu-senha"  /> 
     </txp:ign_if_logged_in>  
    

    An the form "esqueceu-senha" itself:

    <txp:mem_self_password_reset_form form_mail="self_register_password_mail" subject="Valentina Fiancée sua nova senha">
    <fieldset>
    <p>Informe seu nome de usuário e email e nós enviaremos uma nova senha!</p>
    <txp:mem_form_text break="" name="name" label="Nome de Usuário" break="br" />
    <br/>
    <txp:mem_form_email break="" name="email" label="Seu email cadastrado" break="br" />
    </fieldset>
    <txp:mem_form_submit name="submit" label="Enviar" />
    </txp:mem_self_password_reset_form>
    

    The "self_register_password_mail" form:

    Prezada(o) <txp:mem_name />,
    
    Recebemos sua solicitação para alterar a senha de acesso ao site <txp:mem_siteurl />.
    
    Seu Login: <txp:mem_username /> 
    Sua nova Senha: <txp:mem_password />
    
    Se tiver qualquer dúvida por favor entre em contato conosco através de nosso site ou respondendo a este email.
    
    Atenciosamente,
    <txp:mem_admin_name />
    <txp:mem_admin_email />
    

    The user receives the email but the password is blank (And it´s actually blank on the database either). I thank you in advance for your time and help.

  2. teeraina

    Hi!

    I have the same problem. Is there any solutions to be found to this issue?

    <txp:mem_self_password_reset_form /> sets the password blank

    <txp:mem_self_change_password_form /> changes the password, but in email it shows up encrypted

    I'm using TXP 4.4.1, mem_self_register 0.9.7 and mem_form 0.8.4

  3. Michael Manfre

    brunodario, your usage is incorrect. The "form_mail" message that is sent does not email a password. Instead, it emails a link confirmation link that should point back to the page with the form, but includes "?mem_self_confirm=1". At that point, the regular txp password email will be sent.

    teeraina, issue found and fixed with v0.9.8.

  4. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.