PoiPoi-Dev / PoiPoi-frontend

MIT License
1 stars 4 forks source link

Fix/login firebase backend diffs #49

Closed J-Ariola closed 2 months ago

J-Ariola commented 2 months ago

Description

This is made as a contigency that when the user creates an account, but does not exist in the user_profile table in the backend. This will cause the app to crash. If the app successfully creates a uuid on firebase, but it unable to properly create the user on the database, the firebase account is deleted and the user must create an account again.

In addition, the logs have been moved to authenticationAction.ts to properly inform the user whether an account has been successfully made or not.

Card Link

https://3.basecamp.com/5802516/buckets/37608217/card_tables/cards/7486859297

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

This has been tested manually.

Checklist before requesting a review