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

Fixes #13

Merged
merged 6 commits into from
Apr 26, 2024
Merged

Fixes #13

merged 6 commits into from
Apr 26, 2024

Conversation

AyushBherwani1998
Copy link
Member

Description

Fixes couple of issues regarding EnableMFA

Issue: #11
The issue was because of a couple of reasons. First, we did not check the device factor, if hashed key was not found. Upon enable MFA hashed key is deleted, so we should check the device factor. Second, there was a type issue while retrieving the data from ILocalStorage. We were using Codable but default types of Swift are not Codable. Used Any instead of Codable.

Issue: #12
We were not adding the deviceMetadataShareIndex for new users, which is used to backup share in enableMFA.

Issue: #8
Rename the login function to keep it align with mpc-core-kit-web

@shahbaz17 shahbaz17 requested a review from ieow April 24, 2024 07:33
Copy link
Collaborator

@ieow ieow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ieow ieow merged commit 42ff29e into main Apr 26, 2024
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.

2 participants