-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Remove passwordless beta logic #22461
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
Conversation
remove password validation regex
…swordless-dependencies
|
This should be good for review! Gonna add screenshots first thing Monday 🙇 |
|
@srikarparsi Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
…swordless-dependencies
|
Did some testing today, will follow up with android tomorrow 🙇 |
johnmlee101
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updatePasswordAndSignin should be removed as well from Session/index.js, right?
Oops yes, and now I have conflicts 😢 |
|
@johnmlee101 updated! |
|
Android mWeb is up but my android sim won't load newDot 😭 |
…swordless-dependencies
…swordless-dependencies
|
@srikarparsi @johnmlee101 friendly bump here just cause this one gets conflicts every day 😭 |
|
@srikarparsi will you be able to work on the checklist? |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-07-21.at.4.29.52.PM.movMobile Web - ChromeScreen.Recording.2023-07-21.at.4.31.00.PM.movMobile Web - SafariScreen.Recording.2023-07-21.at.4.33.47.PM.movDesktopDesktopRecording.moviOSScreen.Recording.2023-07-21.at.4.52.02.PM.movAndroidScreen.Recording.2023-07-21.at.4.57.39.PM.mov |
|
Hey @johnmlee101! Yup, I can test on the other platforms and will add screenshots into your checklist |
|
@NikkiWines Should I be on a specific branch of web when testing this PR. I'm getting the following error:
These are the logs: I also logged the error code and it's 402 which doesn't make sense based on the header of this file since I also tried an actual debit card and it didn't work either. |
|
Do you have the most up-to-date version of auth? |
|
Hmm, @srikarparsi this isn't dependent on any web PRs so you should be fine. FWIW when I test adding a debit card in dev I always use |
|
I'll try that, I do have the most up to date version of auth and also did a buildAll and restarted auth in the vm. |
srikarparsi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added in the recordings and completed the checklist.
|
Thank you so much for finishing testing! Excited that this is out! |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/srikarparsi in version: 1.3.45-0 🚀
|
| useExpensifyLogin: parameters.useExpensifyLogin, | ||
| partnerName: parameters.partnerName, | ||
| partnerPassword: parameters.partnerPassword, | ||
| partnerPassword: parameters.partnerPassyword, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We had a typo here 😢
P.s.: Fixing this here #23532
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah oops, nice catch - thank you
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.45-7 🚀
|
| // A fresh session will not have credentials.login available. | ||
| if (!login) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing this (and the other if in src/pages/ValidateLoginPage/index.website.js) resulted in this regression where users couldn't log in using magic links.
I should've added QA steps for testing logging in with magic links for this PR, my bad 😞


Details
Removes a lot of password-based code and passwordless beta logic that's no longer necessary now we've flipped everyone over
Fixed Issues
Part of https://github.com/Expensify/Expensify/issues/249398
PROPOSAL:
Tests
Offline tests
N/A
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Web
newuser-contactmethod-web.mov
debitcard-web.mov
Mobile Web - Chrome
Mobile Web - Safari
Simulator.Screen.Recording.-.iPhone.14.-.2023-07-17.at.18.16.21.mp4
Desktop
desktop.mov
iOS
ios.mp4
Android
Screen.Recording.2023-07-18.at.10.55.31.mov