web-manager 3.2.6 → 3.2.8
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +5 -19
- package/package.json +1 -1
package/index.js
CHANGED
@@ -190,10 +190,7 @@ function Manager() {
|
|
190
190
|
});
|
191
191
|
setInterval(function () {
|
192
192
|
refreshNewVersion(self);
|
193
|
-
},
|
194
|
-
? 1000
|
195
|
-
: (1000 * 60 * 60 * 24 * 7)
|
196
|
-
);
|
193
|
+
}, 1000 * 60 * 60 * 24 * 7);
|
197
194
|
|
198
195
|
}
|
199
196
|
|
@@ -794,21 +791,10 @@ function Manager() {
|
|
794
791
|
// self.log('Error', error.message);
|
795
792
|
});
|
796
793
|
} else {
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
// })
|
802
|
-
|
803
|
-
// @@@ ADDED NOV 6, 2023
|
804
|
-
var authDomain = self.properties.options.libraries.firebase_app.config.authDomain;
|
805
|
-
var newURL = new URL('https://' + authDomain + '/auth/handler');
|
806
|
-
|
807
|
-
newURL.searchParams.set('provider', method);
|
808
|
-
newURL.searchParams.set('destination', window.location.href);
|
809
|
-
|
810
|
-
window.location.href = newURL.toString();
|
811
|
-
|
794
|
+
firebase.auth().signInWithRedirect(new firebase.auth.OAuthProvider(method))
|
795
|
+
.catch(function (e) {
|
796
|
+
_displayError(e);
|
797
|
+
})
|
812
798
|
}
|
813
799
|
},
|
814
800
|
signUp: function(method, email, password, passwordConfirm) {
|
package/package.json
CHANGED