- New POST /auth/logout-others keeps the current session and invalidates all others (invalidateOtherSessions with the current session id), writes a logout.others audit entry, and returns the count ended. - api.logoutOthers(); a "Sign out of other devices" button in the Login History dialog, guarded by an AlertDialog confirmation. On success: toast with the count and refetch the history so it collapses to just this device. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| components | ||
| contexts | ||
| hooks | ||
| lib | ||
| pages | ||
| public/img | ||
| App.tsx | ||
| api.ts | ||
| index.css | ||
| main.tsx | ||
| types.ts | ||