We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
lucia
Terminates all user's authorized sessions except for the current one.
like https://core.telegram.org/method/auth.resetAuthorizations
deleteUserSessionsExceptCurrent() // or type deleteUserSessions = (except_current: boolean) => boolean deleteUserSessions(true)
before:
session:1 session:2 session:3 session:4
after:
session:2
The text was updated successfully, but these errors were encountered:
I could add this in v4, though for now this should be good enough:
await lucia.invalidateUserSessions(); const newSession = await lucia.createSession();
Sorry, something went wrong.
Remind me, when do you plan to release v4? Early 2025?
@doroved early 2025
I don't plan to add any new features. Also see #1714
No branches or pull requests
Package
lucia
Description
Terminates all user's authorized sessions except for the current one.
like https://core.telegram.org/method/auth.resetAuthorizations
before:
after:
The text was updated successfully, but these errors were encountered: