This repository was archived by the owner on Apr 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -637,7 +637,7 @@ firebase.login = function (arg) {
637637 arg . tokenProviderFn ( )
638638 . then (
639639 function ( token ) {
640- firebaseAuth . signInWithCustomToken ( arg . token ) . addOnCompleteListener ( onCompleteListener ) ;
640+ firebaseAuth . signInWithCustomToken ( token ) . addOnCompleteListener ( onCompleteListener ) ;
641641 } ,
642642 function ( error ) {
643643 reject ( error ) ;
Original file line number Diff line number Diff line change @@ -791,12 +791,12 @@ firebase.login = function (arg) {
791791 if ( ! arg . token && ! arg . tokenProviderFn ) {
792792 reject ( "Auth type custom requires a token or a tokenProviderFn argument" ) ;
793793 } else if ( arg . token ) {
794- fAuth . signInWithCustomToken ( arg . token , onCompletion ) ;
794+ fAuth . signInWithCustomTokenCompletion ( arg . token , onCompletion ) ;
795795 } else if ( arg . tokenProviderFn ) {
796796 arg . tokenProviderFn ( )
797797 . then (
798798 function ( token ) {
799- firebaseAuth . signInWithCustomToken ( arg . token , onCompletion ) ;
799+ firebaseAuth . signInWithCustomTokenCompletion ( token , onCompletion ) ;
800800 } ,
801801 function ( error ) {
802802 reject ( error ) ;
You can’t perform that action at this time.
0 commit comments