Skip to content

Commit 12b4eb8

Browse files
committed
Fix crash
1 parent ae8de3c commit 12b4eb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/firebase_functions/private/_identity_fn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def _auth_user_record_from_token_data(token_data: dict[str, _typing.Any]):
114114
return AuthUserRecord(
115115
uid=token_data["uid"],
116116
email=token_data.get("email"),
117-
email_verified=token_data["email_verified"],
117+
email_verified=token_data.get(["email_verified"]) or False,
118118
display_name=token_data.get("display_name"),
119119
photo_url=token_data.get("photo_url"),
120120
phone_number=token_data.get("phone_number"),

0 commit comments

Comments
 (0)