PGP login, sessions management, dashboard stabilization, CopyButton unification + SMTP registration fix#14
Merged
Merged
Conversation
- add the dashboard sessions screen and shared dashboard navigation - add backend session listing and revoke endpoints with public session IDs - persist and validate session state through Redis-backed tracking
- keep profile, sessions, and security factor UI in sync after successful actions - preserve modal contents until close animations finish across password, TOTP, passkey, PGP, and recovery codes flows - relax authenticated dashboard rate limiting and improve dashboard error messaging
- Extract SessionsSkeleton and update DashboardSkeleton (3 sections) - Replace useState clipboard pattern with useClipboard from @mantine/hooks - Split pgp.tsx into step components (challenge, quick-sign, signature) - Move parseUserAgent and timeAgo to lib/utils.ts - Move extract_client_ip to auth-core crate
- Create components/copy-button.tsx with useClipboard from @mantine/hooks - Remove duplicate PGP-specific copy-button.tsx - Re-export from dashboard helpers.tsx - Add compact prop for smaller variant (used in both PGP and dashboard) - Remove 'Verifying...' text from TOTP dialog to prevent layout shift
TymekV
requested changes
Apr 7, 2026
…on components, fix Rust types - Convert PGP challenge fetching from useMutation to useQuery - Extract TotpSetupDialog and TotpDisableDialog into separate components - Extract SessionCard into a separate component - Remove extract_client_ip from auth-core, use axum_client_ip in server - Add IntoParams derive to DeleteSessionPath, use params(DeleteSessionPath) in utoipa macro - Add fred as a direct dependency, import Pool from fred directly in state.rs
TymekV
requested changes
Apr 7, 2026
|
|
||
| let db = state.database.clone(); | ||
| let sid = session_id.to_string(); | ||
| let uid = user_id; |
TymekV
approved these changes
Apr 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Security
$elemMatch, fix wrong factor typeFeatures
Fixes
Refactors
lib/utils.ts, extractSessionsSkeleton, moveextract_client_iptoauth-corecomponents/copy-button.tsxusinguseClipboardfrom@mantine/hookswith optionalcompactprop, remove duplicate, remove TOTP 'Verifying' layout shift