Comments (7)
Great! I'd like to take a dig at this, if you assign me 😉
Thanks 😁
from inbox.
Its the extension in the security page right ?
from inbox.
no this is more database/backend
from inbox.
got it thanks
from inbox.
Project here is some great stuff @McPizza0 😉
The changes looks like it should be made in the following files
apps/web-app/server/trpc/routers/authRouter/signupRouter
apps/web-app/server/trpc/routers/authRouter/passwordRouter
apps/web-app/server/trpc/routers/authRouter/passkeyRouter
Of course after modifying the database schema adding the new field lastLoginAt
of datetime/timestamp
type with no defaults in...
packages/database/schema.ts
This field will get an initial value at execution of the signupRouter
after the lucia
session can be confirmed as successfully created session.
Then the field can get updated at login, when the passwordRouter
or passkeyRouter
shoots after the session can be confirmed as successfully created session.
Correct me if I'm off here 🫣
the data would be used to check for active/inactive users by combining
lastLoginAt
with a check on active sessions
How'd you mean here though?? Is this some thoughts around the use case of this field?? Or you're looking to include this in the implementation??? 🤔
from inbox.
@babblebey !
yes you got the idea right
re: checking active; this would just be done manually - not a feature in app
a lightweight product analytics
from inbox.
Epic!
from inbox.
Related Issues (20)
- nextjs: new convo page missing styling
- nextjs: new convo participants missing contacts HOT 2
- passkeys on ios 18 beta do not work HOT 2
- NextJS: New Convo To Field accepts duplicate email address
- validate shorcode when creating a new org
- Next: Replace password input fields with custom component HOT 1
- Next: when signing up, cant save profile without adding avatar HOT 3
- when fetching a conversation, update lastReadAt
- Hiding/un-hiding convo fix HOT 2
- when creating new org, not redirected correctly HOT 4
- dialog z-index issue
- Theme switcher not showing correct current theme
- feature: Allow Deleting/Hiding of multiple conversations at the same time HOT 2
- New Convo > Participants Input: Overflow issues
- Chat Screen visible even after deleting conversation. HOT 1
- make `useTimeAgo` follow only english locale for now HOT 2
- When writing a reply - CMD + ENTER should sent the message HOT 2
- Allow inline images in email messages HOT 2
- [ENG-131] Org switcher text not truncated HOT 3
- [ENG-133] uploading large avatar images is slow
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from inbox.