You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible for the _expire field sent to the database (MongoDB) to be of type Date? Currently, the SessionData interface defines _expire as string | null.
However, when the _expire field is of type Date, MongoDB allows setting up a TTL index that automatically removes expired sessions.
The text was updated successfully, but these errors were encountered:
Is it possible for the _expire field sent to the database (MongoDB) to be of type Date? Currently, the SessionData interface defines _expire as string | null.
However, when the _expire field is of type Date, MongoDB allows setting up a TTL index that automatically removes expired sessions.
The text was updated successfully, but these errors were encountered: