configurable password reset URL (host and path)

RESOLVED INVALID

Status

Cloud Services
Server: Registration
RESOLVED INVALID
7 years ago
7 years ago

People

(Reporter: atoll, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
tchung requested that we change the password reset URL in bug #599533, however the necessary changes cannot be made through weave_user_constants.php.

I looked around and it seems that there are hard-coded action URIs and an HTTP host parameter.

/data/reg-server/1.0/templates/forgot_2.php:          <form class="mainForm" name="changePass" id="changePass" action="weave-password-reset" method="post">
/data/reg-server/1.0/templates/forgot_1.php:  <form class="mainForm" name="forgotPass" id="forgotPass" action="weave-password-reset" method="post">
/data/reg-server/1.0/utils.php:                 (array_key_exists('HTTPS', $_SERVER) ? 'https' : 'http') . '://' . $_SERVER['HTTP_HOST'] . "/weave-password-reset?username=$user&key=$code\n\n" .
(Reporter)

Updated

7 years ago
Component: Firefox Sync: Backend → Server: Registration
QA Contact: sync-backend → reg-server
(Reporter)

Comment 1

7 years ago
We fixed this using HTTP redirects in various places.
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.