Skip to content

How to update user account?? #423

Answered by WolfgangSenff
anishmishra0 asked this question in Q&A
Discussion options

You must be logged in to vote

Ah, dangit, I see why. I can tell you how to fix it locally and I can try to fix it eventually, but I'm fairly busy right now so can't implement what I know to be a fix for a little while. Here's what I'd do:

  1. Go into this file in your local version of the addon: https://github.com/GodotNuts/GodotFirebase/blob/main/addons/godot-firebase/auth/user_data.gd
  2. Go to line 32 (photo_url = provider_user_info[0].get("photoUrl", "")) and copy it, then paste it above the if statement above it and unindent it one tab
  3. On the new line you just added, change provider_user_info[0] to just be p_userdata

In theory, that should work. The other issue you'll see though is if you look in the _to_string below i…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@anishmishra0
Comment options

Comment options

You must be logged in to vote
6 replies
@WolfgangSenff
Comment options

@anishmishra0
Comment options

@WolfgangSenff
Comment options

@anishmishra0
Comment options

@WolfgangSenff
Comment options

Answer selected by anishmishra0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants