We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7f1db6 commit bb3525aCopy full SHA for bb3525a
1 file changed
@ecomplus/storefront-app/src/views/js/Account.js
@@ -89,7 +89,10 @@ export default {
89
created () {
90
const isExternalAuth = Boolean(window.$firebaseConfig && window.$firebaseConfig.authDomain)
91
if (isExternalAuth && !this.ecomPassport.checkAuthorization()) {
92
- window.location.href = '/app/account'
+ setTimeout(() => {
93
+ if (this.ecomPassport.checkAuthorization()) return
94
+ window.location.href = '/app/account'
95
+ }, 1000)
96
}
97
},
98
0 commit comments