Closed Bug 599806 Opened 14 years ago Closed 13 years ago

configurable password reset URL (host and path)

Categories

(Cloud Services :: Server: Registration, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: Atoll, Unassigned)

Details

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" .
Component: Firefox Sync: Backend → Server: Registration
QA Contact: sync-backend → reg-server
We fixed this using HTTP redirects in various places.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.