Skip to content

Commit 0164ce7

Browse files
authored
Merge e13c132 into 7b585e8
2 parents 7b585e8 + e13c132 commit 0164ce7

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

packages-exp/auth-compat-exp/demo/rollup.config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
* limitations under the License.
1616
*/
1717

18-
import commonjs from '@rollup/plugin-commonjs';
1918
import json from '@rollup/plugin-json';
2019
import resolveModule from '@rollup/plugin-node-resolve';
2120
import sourcemaps from 'rollup-plugin-sourcemaps';
@@ -29,8 +28,7 @@ const plugins = [
2928
typescript,
3029
include: ['../**/*.ts']
3130
}),
32-
json(),
33-
commonjs()
31+
json()
3432
];
3533

3634
/**

packages-exp/auth-exp/src/core/auth/auth_impl.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -296,15 +296,8 @@ export class AuthImpl implements AuthInternal, _FirebaseService {
296296
}
297297

298298
async updateCurrentUser(userExtern: User | null): Promise<void> {
299-
// The public updateCurrentUser method needs to make a copy of the user,
300-
// and also needs to verify that the app matches
299+
// The public updateCurrentUser method needs to make a copy of the user
301300
const user = userExtern as UserInternal | null;
302-
_assert(
303-
!user || user.auth.name === this.name,
304-
this,
305-
AuthErrorCode.ARGUMENT_ERROR
306-
);
307-
308301
return this._updateCurrentUser(user && user._clone());
309302
}
310303

0 commit comments

Comments
 (0)