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

[No QA] Remove dead code associated with AuthenticateWithAccountID #8149

Merged
merged 1 commit into from
Mar 16, 2022

Conversation

marcaaron
Copy link
Contributor

Details

This code appears to be unused.

Fixed Issues

No QA

@marcaaron marcaaron self-assigned this Mar 15, 2022
@marcaaron marcaaron requested a review from a team as a code owner March 15, 2022 00:49
@MelvinBot MelvinBot requested review from bondydaa and removed request for a team March 15, 2022 00:49
Copy link
Contributor

@bondydaa bondydaa left a comment

Choose a reason for hiding this comment

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

yep looks like these were the only instances in App

Expensidev/App (main) $ ack -i continueSessionFromECom
src/libs/actions/Session/index.js
352:function continueSessionFromECom(accountID, validateCode, twoFactorAuthCode) {
540:    continueSessionFromECom,
Expensidev/App (main) $

adding @cead22 as a reviewer too since I believe he was the one who led the charge on adding this initially to make sure I'm not missing something.

I think to follow up this PR we should also create an auth PR to log if/when the flows for using a validateCode are hit so we can track to see how many users end up hitting it and eventually deprecate and remove that code.

@bondydaa bondydaa requested a review from cead22 March 15, 2022 17:20
@cead22
Copy link
Contributor

cead22 commented Mar 16, 2022

This makes sense because we ended up using short lived auth tokens for the transitions between old dot and new dot

@cead22 cead22 merged commit 7919e24 into main Mar 16, 2022
@cead22 cead22 deleted the marcaaron-removeAuthenticateWithAccountID branch March 16, 2022 00:55
@OSBotify
Copy link
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@OSBotify
Copy link
Contributor

🚀 Deployed to staging by @cead22 in version: 1.1.44-0 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

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.

4 participants