edw1nzhao / cs2340_group16

CS2340 Group 16 Crowd-Sourced Water Reporting App
2 stars 1 forks source link

[IMPORTANT] When changing email or password, change the actual Firebase Auth #85

Closed edw1nzhao closed 7 years ago

edw1nzhao commented 7 years ago

Right now when changing the email or password, it changes how it is stored in the database.

Need to change this so that Firebase Authentication reflects these changes as well.

tomonarifeehan commented 7 years ago

https://firebase.google.com/docs/reference/android/com/google/firebase/auth/FirebaseUser#updatePassword(java.lang.String)

Apparently Firebase has updatePassword() method.

I think it will be easier if we prevent the user from editing their email but allow editing of password.