Skip to content

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

Merged
cead22 merged 1 commit into
mainfrom
marcaaron-removeAuthenticateWithAccountID
Mar 16, 2022
Merged

cead22 merged 1 commit into
mainfrom
marcaaron-removeAuthenticateWithAccountID

Conversation

@marcaaron

Copy link
Copy Markdown
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

@bondydaa bondydaa left a comment

Copy link
Copy Markdown
Contributor

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

cead22 commented Mar 16, 2022

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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 OSBotify mentioned this pull request Mar 17, 2022
31 tasks done
@OSBotify

Copy link
Copy Markdown
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