File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ firebaseui.auth.widget.Config.prototype.isDisplayNameRequired = function() {
299299
300300 for ( var i = 0 ; i < signInOptions . length ; i ++ ) {
301301 if ( signInOptions [ i ] [ 'provider' ] == firebase . auth . EmailAuthProvider . PROVIDER_ID
302- && signInOptions [ i ] [ 'requireDisplayName' ] !== undefined ) {
302+ && typeof signInOptions [ i ] [ 'requireDisplayName' ] !== ' undefined' ) {
303303 return /** @type {boolean } */ ( ! ! signInOptions [ i ] [ 'requireDisplayName' ] ) ;
304304 }
305305 }
Original file line number Diff line number Diff line change @@ -108,8 +108,7 @@ function testHandlePasswordSignUp_withoutDisplayName() {
108108 testAuth . assertCreateUserWithEmailAndPassword (
109109 [ passwordAccount . getEmail ( ) , '123123' ] , function ( ) {
110110 testAuth . setUser ( {
111- 'email' : passwordAccount . getEmail ( ) ,
112- 'displayName' : passwordAccount . getDisplayName ( )
111+ 'email' : passwordAccount . getEmail ( )
113112 } ) ;
114113 return testAuth . currentUser ;
115114 } ) ;
You can’t perform that action at this time.
0 commit comments