Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit e1bb815

Browse files
Doc for updateProfile
1 parent 4d0237d commit e1bb815

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/AUTHENTICATION.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ Don't forget to enable email-password login in your firebase instance.
167167
```
168168

169169
#### Updating a profile
170+
Pass in at least one of `displayName` and `photoURL`.
171+
The logged in user will be updated, but for `getCurrentUser` to reflect the change you'll need to do a logout-login.
172+
170173
```js
171174
firebase.updateProfile({
172175
displayName: 'Eddy Verbruggen',

0 commit comments

Comments
 (0)