garyhtou / FBLA-App

A React Native app for FBLA
1 stars 0 forks source link

[Screen] Profile #13

Open garyhtou opened 4 years ago

garyhtou commented 4 years ago

Summary

Allow users to update their own profile settings.

Intended Outcome

How will it work?

Either stored in Firebase user auth or database

garyhtou commented 4 years ago

e873caa40c3591cade762f8f05b2e8fb991403a3 currently supports:

Most of these are not hooked up to Firebase yet.

Images

s-hliao commented 4 years ago

Everything except profile pictures now reads from and writes to firebase.

garyhtou commented 3 years ago

Only missing the ability to changing your password. The modal is there (maybe need to change the location of the close button), but none of the firebase/backend is hooked up.

@s-hliao: FYI, in order for a user to change their password, they must have recently been authenticated. So, I think the best way to handle the changing of password is to ask the user to put in their old password and new password (twice). Confirm the new passwords are the same. If they are, then use the old password they gave and the email address of the current user to reauthenticate. Afterward, you can update their password to the new password.