Skip to content

Commit 9c9b1ee

Browse files
Update login.js
1 parent 4e9e488 commit 9c9b1ee

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ define([
3737
callback(loginData);
3838
});
3939
customerData.invalidate(['customer']);
40-
41-
if (response.redirectUrl) {
40+
if (response.redirectUrl) {
4241
window.location.href = response.redirectUrl;
4342
} else if (redirectUrl) {
4443
window.location.href = redirectUrl;

0 commit comments

Comments
 (0)