prefill email on"forgot password" page

Bug #495006 reported by Nigel Pugh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical SSO provider
Fix Released
Wishlist
David Owen

Bug Description

When you enter an incorrect password, and click "forgot password" should it prefill the email address field with what you just entered?

Related branches

Revision history for this message
Mat Tomaszewski (mat.t.) wrote :

It definitely should, but only if the email has been already registered.

Conversely, if the user enters an unregistered, valid email and chooses "New account", the field should be pre-populated as well.

Revision history for this message
Stuart Metcalfe (stuartmetcalfe) wrote :

We can append the email as a GET param to the forgot password page after a login form submission (when we build the page). We won't do it live with JS as we don't want to introduce a JS lib to the main login page at this time for performance reasons. We should not check for the existence of the email when appending it as this could be used to expose known emails. Whatever value entered into the email login field should just be passed to the forgot password page to pre-fill the field. This should not actually submit the forgot password form automatically.

Changed in canonical-identity-provider:
milestone: none → 2.3.0
Changed in canonical-identity-provider:
milestone: 2.3.0 → 2.4.0
Changed in canonical-identity-provider:
milestone: 2.4.0 → 2.5.0
Changed in canonical-identity-provider:
milestone: 2.5.0 → 2.6.0
Changed in canonical-identity-provider:
assignee: nobody → David Owen (dsowen)
David Owen (dsowen)
Changed in canonical-identity-provider:
status: Triaged → In Progress
David Owen (dsowen)
Changed in canonical-identity-provider:
status: In Progress → Fix Committed
Julien Funk (jaboing)
Changed in canonical-isd-qa:
assignee: nobody → Dave Morley (davmor2)
Revision history for this message
Dave Morley (davmor2) wrote :

You only get the email address added if you have the "wrong password" warning flagged. If you type in your email address and realise you have forgotten your password and select the forgotten password link the email address is not auto filled.

Is this behaviour correct?

Revision history for this message
Stuart Metcalfe (stuartmetcalfe) wrote :

This is expected behavior. From my earlier comment: "We won't do it live with JS as we don't want to introduce a JS lib to the main login page at this time for performance reasons". The intention is to handle cases where you've entered your email and it reports 'wrong password'. Clicking the link then prefills your email to save you typing it again after the original submission.

Revision history for this message
Dave Morley (davmor2) wrote :

Cool in that case that is the correct behaviour and I can pass it and move on :)

Revision history for this message
Dave Morley (davmor2) wrote :

passes on ec2

Changed in canonical-isd-qa:
status: New → Confirmed
Revision history for this message
Dave Morley (davmor2) wrote :

This works as described above on staging.

Changed in canonical-isd-qa:
status: Confirmed → Fix Committed
Revision history for this message
Dave Morley (davmor2) wrote :

This is working on production

Changed in canonical-isd-qa:
status: Fix Committed → Fix Released
David Owen (dsowen)
Changed in canonical-identity-provider:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.