Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Blocking login function: fixed crash on phone auth ("email_veried" is…
… not in the dict)
  • Loading branch information
savytskyi authored Oct 9, 2023
commit e2bad152c780a336f1e72fac9be104f859a9abf5
2 changes: 1 addition & 1 deletion src/firebase_functions/private/_identity_fn.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def _auth_user_record_from_token_data(token_data: dict[str, _typing.Any]):
return AuthUserRecord(
uid=token_data["uid"],
email=token_data.get("email"),
email_verified=token_data["email_verified"],
email_verified=token_data.get("email_verified"),
display_name=token_data.get("display_name"),
photo_url=token_data.get("photo_url"),
phone_number=token_data.get("phone_number"),
Expand Down