Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix key error after the first login #7359

Merged
merged 1 commit into from
Aug 9, 2024
Merged

Conversation

charlag
Copy link
Contributor

@charlag charlag commented Aug 8, 2024

We have added a migration to add encryptedPassphraseKey and we've been erroneously calling getDecryptedCredentialsByUserId() before any credentials have been stored.

Now we first make sure that the credentials are there and then we try to fetch and decrypt them.

fix #7330

We have added a migration to add `encryptedPassphraseKey` and we've been
erroneously calling `getDecryptedCredentialsByUserId()` before any
credentials have been stored.

Now we first make sure that the credentials are there and then we try
to fetch and decrypt them.

fix #7330
@charlag charlag force-pushed the fix-key-error-after-login-7330 branch from 8ad45ba to 8e8f2c0 Compare August 9, 2024 14:24
@charlag
Copy link
Contributor Author

charlag commented Aug 9, 2024

rebased

@wec43 wec43 merged commit 8e8f2c0 into master Aug 9, 2024
1 check passed
@wec43 wec43 deleted the fix-key-error-after-login-7330 branch August 9, 2024 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error upon logging into an account for the first time on mobile
2 participants