fix: multiple settings objects created for 1 user

due to these multiple objects reset password wasn't working because
only the latest one would be encrypted with the new password
but all previous objects would require decryption
which resulted in a block while syncing
This commit is contained in:
thecodrr
2021-02-26 17:33:46 +05:00
parent c0e78aa5c9
commit dd2a065be7
5 changed files with 30 additions and 26 deletions

View File

@@ -25,6 +25,7 @@ export const EVENTS = {
userLoggedIn: "user:loggedIn",
userLoggedOut: "user:loggedOut",
userFetched: "user:fetched",
userSignedUp: "user:signedUp",
databaseSyncRequested: "db:syncRequested",
databaseMigrated: "db:migrated",
databaseUpdated: "db:updated",