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() {
299
299
300
300
for ( var i = 0 ; i < signInOptions . length ; i ++ ) {
301
301
if ( signInOptions [ i ] [ 'provider' ] == firebase . auth . EmailAuthProvider . PROVIDER_ID
302
- && signInOptions [ i ] [ 'requireDisplayName' ] !== undefined ) {
302
+ && typeof signInOptions [ i ] [ 'requireDisplayName' ] !== ' undefined' ) {
303
303
return /** @type {boolean } */ ( ! ! signInOptions [ i ] [ 'requireDisplayName' ] ) ;
304
304
}
305
305
}
Original file line number Diff line number Diff line change @@ -108,8 +108,7 @@ function testHandlePasswordSignUp_withoutDisplayName() {
108
108
testAuth . assertCreateUserWithEmailAndPassword (
109
109
[ passwordAccount . getEmail ( ) , '123123' ] , function ( ) {
110
110
testAuth . setUser ( {
111
- 'email' : passwordAccount . getEmail ( ) ,
112
- 'displayName' : passwordAccount . getDisplayName ( )
111
+ 'email' : passwordAccount . getEmail ( )
113
112
} ) ;
114
113
return testAuth . currentUser ;
115
114
} ) ;
You can’t perform that action at this time.
0 commit comments