mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-20 05:42:40 +01:00
Fix 'key'/'type' swap in email reset / one-time-login controller
Summary: Fixes T9046. These got swapped around during refactoring. Test Plan: - Used `bin/auth recover` prior to patch (failed). - Used `bin/auth recover` after patch (worked). Reviewers: joshuaspence, chad Reviewed By: chad Subscribers: epriestley Maniphest Tasks: T9046 Differential Revision: https://secure.phabricator.com/D13778
This commit is contained in:
parent
f0269d696c
commit
b4b5d60f77
1 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,8 @@ final class PhabricatorAuthOneTimeLoginController
|
||||||
public function handleRequest(AphrontRequest $request) {
|
public function handleRequest(AphrontRequest $request) {
|
||||||
$viewer = $this->getViewer();
|
$viewer = $this->getViewer();
|
||||||
$id = $request->getURIData('id');
|
$id = $request->getURIData('id');
|
||||||
$link_type = $request->getURIData('key');
|
$link_type = $request->getURIData('type');
|
||||||
$key = $request->getURIData('type');
|
$key = $request->getURIData('key');
|
||||||
$email_id = $request->getURIData('emailID');
|
$email_id = $request->getURIData('emailID');
|
||||||
|
|
||||||
if ($request->getUser()->isLoggedIn()) {
|
if ($request->getUser()->isLoggedIn()) {
|
||||||
|
|
Loading…
Reference in a new issue