#89 √ resolved
Michael Hartl

"I forgot my password" display

Reported by Michael Hartl | June 17th, 2008 @ 05:04 PM | in Miscellaneous polish

"I forgot my password" should only display if email is enabled in the admin preferences

Comments and changes to this ticket

  • Michael Hartl

    Michael Hartl June 17th, 2008 @ 05:05 PM

    Clarification: this refers to the login page.

  • Jesse Crockett

    Jesse Crockett August 1st, 2008 @ 11:48 AM

    • → Tag changed from “” to “bugs”

    Changed `if global_prefs.can_send_email?' to the following in the application controller and Sessions#new

    don't know how it's pertinent for testing, so I will go ahead and issue a pull request.

                  <%- if global_prefs.email_notifications? -%>
                  <br />
                  <%= link_to "I forgot my password",
                               new_password_reminder_path %>
                  <%- end -%>
    
        <%- if global_prefs.email_notifications? -%>
          <p class="form_row">
            <%= link_to "I forgot my password!", new_password_reminder_path %>
          </p>
        <%- end -%>
    
  • Michael Hartl

    Michael Hartl September 5th, 2008 @ 11:37 AM

    • → Assigned user changed from “” to “Michael Hartl”
    • → State changed from “new” to “open”
  • Michael Hartl

    Michael Hartl September 15th, 2008 @ 04:51 PM

    • → State changed from “open” to “resolved”

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Tags