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

Remove early return from isFromPublicDomain if domain is public #6340

Merged
merged 1 commit into from
Nov 17, 2021

Conversation

luacmartins
Copy link
Contributor

@luacmartins luacmartins commented Nov 16, 2021

Details

We added the ability to auto approving Expensify Cards for users with private domain as secondary logins. This PR removes the early return from isFromPublicDomain so we can determine if the user has Expensify Cards enabled in their account.

Fixed Issues

$ #6337

Tests

  1. Log into NewDot with a public domain email, e.g. @gmail.com.
  2. Open the browser console and verify that isUsingExpensifyCards is set to false.

QA Steps

Steps above.

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

Screen Shot 2021-11-16 at 3 56 22 PM

Mobile Web

Desktop

iOS

Android

@luacmartins luacmartins self-assigned this Nov 16, 2021
@luacmartins luacmartins marked this pull request as ready for review November 16, 2021 23:08
@luacmartins luacmartins requested a review from a team as a code owner November 16, 2021 23:08
@MelvinBot MelvinBot requested review from timszot and removed request for a team November 16, 2021 23:08
@timszot timszot merged commit 11b9bab into main Nov 17, 2021
@timszot timszot deleted the cmartins-removeEarlyReturn branch November 17, 2021 16:26
@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 @timszot in version: 1.1.15-18 🚀

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

@OSBotify
Copy link
Contributor

🚀 Deployed to production by @roryabraham in version: 1.1.16-10 🚀

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.

3 participants