-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Implement infinite sessions #7
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
src/store/actions/SessionActions.js
Outdated
| .catch((err) => { | ||
| Store.set(STOREKEYS.SESSION, {error: err.message}); | ||
| }); |
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.
| .catch((err) => { | |
| Store.set(STOREKEYS.SESSION, {error: err.message}); | |
| }); | |
| .catch(err => Store.set(STOREKEYS.SESSION, {error: err.message})); |
Make sure your linter is working, because this should have thrown a listing error. Also, it's maybe better to use merge() here so it doesn't blow away the rest of the stuff on that key. I can do that in a followup PR too since this branch doesn't have merge yet.
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 yeah, the session is going to be tricky not to blow away
|
🚀 [Deployed](https://github.com/Expensify/Expensify.cash
|
Deploying helpdot with
|
| Latest commit: |
7cd00c9
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://759d03c3.helpdot.pages.dev |
* feat: Added missing validation and QOL change on UBO confirm step * fix: add missing prop
Implemented infinite sessions:
useExpensifyLogin = truefor the firstAuthenticatewhich will create a new login viaCreateLoginCreateLoginuseReact-Native-Chat-${guid}for the login name and${guid}for the passwordverifyAuthTokencheck the last time, if it's more than 90 minutes use the random login and password to call authenticate