We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 295d02b commit 728db4dCopy full SHA for 728db4d
packages-exp/auth-exp/demo/src/index.js
@@ -381,16 +381,17 @@ function onSignInWithCustomToken(event) {
381
// The token can be directly specified on the html element.
382
var token = $('#user-custom-token').val();
383
384
- signInWithCustomToken(auth, token)
385
- .then(onAuthUserCredentialSuccess, onAuthError);
+ signInWithCustomToken(auth, token).then(
+ onAuthUserCredentialSuccess,
386
+ onAuthError
387
+ );
388
}
389
390
/**
391
* Signs in anonymously.
392
*/
393
function onSignInAnonymously() {
- signInAnonymously(auth)
394
+ signInAnonymously(auth).then(onAuthUserCredentialSuccess, onAuthError);
395
396
397
0 commit comments