Skip to content

Commit 0aee96f

Browse files
committed
ACP2E-320: Fixed static test
1 parent e4454b4 commit 0aee96f

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Customer/view/frontend/web/js/action

1 file changed

+1
-1
lines changed

app/code/Magento/Customer/view/frontend/web/js/action/login.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ define([
2424
messageContainer = messageContainer || globalMessageList;
2525
let customerLoginUrl = 'customer/ajax/login';
2626

27-
if(window.authenticationPopup.customerLoginUrl) {
27+
if (window.authenticationPopup && window.authenticationPopup.customerLoginUrl) {
2828
customerLoginUrl = window.authenticationPopup.customerLoginUrl;
2929
}
3030

0 commit comments

Comments
 (0)