Skip to content

Commit 659a245

Browse files
Merge pull request magento#1493 from magento-engcom/develop-prs
[EngCom] Public Pull Requests - MAGETWO-75114: Deprecated Magento\Store\Model\Store::$_isAdminSecure magento#10877 - MAGETWO-72539: cviking26_issue-9489 // added query param to url build - description … magento#10848
2 parents 53072e0 + ff7a5bf commit 659a245

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

app/code/Magento/Customer/Model/Url.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public function getForgotPasswordUrl()
237237
*/
238238
public function getEmailConfirmationUrl($email = null)
239239
{
240-
return $this->urlBuilder->getUrl('customer/account/confirmation', ['email' => $email]);
240+
return $this->urlBuilder->getUrl('customer/account/confirmation', ['_query' => ['email' => $email]]);
241241
}
242242

243243
/**

app/code/Magento/Store/Model/Store.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ class Store extends AbstractExtensibleModel implements
207207
* Flag that shows that backend URLs are secure
208208
*
209209
* @var boolean|null
210+
* @deprecated unused protected property
210211
*/
211212
protected $_isAdminSecure = null;
212213

dev/tests/integration/testsuite/Magento/Customer/Controller/AccountTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,8 @@ public function testWithConfirmCreatePostAction()
304304
$this->assertSessionMessages(
305305
$this->equalTo([
306306
'You must confirm your account. Please check your email for the confirmation link or '
307-
. '<a href="http://localhost/index.php/customer/account/confirmation/email/'
308-
. 'test2%40email.com/">click here</a> for a new link.'
307+
. '<a href="http://localhost/index.php/customer/account/confirmation/'
308+
. '?email=test2%40email.com">click here</a> for a new link.'
309309
]),
310310
MessageInterface::TYPE_SUCCESS
311311
);

0 commit comments

Comments
 (0)