Skip to content

Please remove sensitive private info from lgnForgotPassSentTpl #141

Open

Description

@donShakespeare

https://github.com/modxcms/Login/blob/master/core/components/login/elements/chunks/lgnforgotpasssenttpl.chunk.tpl

Something many users might not know is that when you allow the feature "Reset Password" you need to really really really customize this one uncommon tpl

[[!Login? &sentTpl=`lgnForgotPassSentTpl`]]
Otherwise, any lurker can get any user's email address if the lurker knows a username.
The lurker just has to attempt to reset password by given username.

The unusual default HTML of that tpl is something revealing like this...
<p>Your login information has been sent to the email address [[+email]].</p>

Activity

  1. matdave commented on Dec 28, 2018

    @matdave
    Member

    What would be the preferred semantic? If a username or email address matches, we will send an email with the password reset link.?

  2. donShakespeare commented on Dec 28, 2018

    @donShakespeare
    Author

    This is what I use
    <p>Your login information has been sent to the email address associated with your account</p>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions