-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Implement infinite sessions #7
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
|
Signed-off-by: Ashutosh Khanduala <ashu.khanduala@gmail.com>
Deploying helpdot with Cloudflare Pages
|
* feat: Added missing validation and QOL change on UBO confirm step * fix: add missing prop
Implemented infinite sessions:
useExpensifyLogin = true
for the firstAuthenticate
which will create a new login viaCreateLogin
CreateLogin
useReact-Native-Chat-${guid}
for the login name and${guid}
for the passwordverifyAuthToken
check the last time, if it's more than 90 minutes use the random login and password to call authenticate