Skip to content

feat(app): add lock app functionality to settings - #63

Merged
comppaz merged 1 commit into
mainfrom
feat/lock-app
Dec 19, 2025
Merged

feat(app): add lock app functionality to settings#63
comppaz merged 1 commit into
mainfrom
feat/lock-app

Conversation

@comppaz

@comppaz comppaz commented Dec 19, 2025

Copy link
Copy Markdown
Collaborator

Summary

  • Add ability to lock the app from the Settings page
  • User must re-enter password to unlock after locking

Changes

  • Backend: Add reset_db_connection() function to clear database state and encryption key
  • Backend: Add POST /api/auth/logout endpoint
  • Frontend: Add Security section at bottom of Settings with "Lock App" button
  • Frontend: Confirmation dialog before locking

Testing

  • Lock App button appears in Settings page
  • Clicking Lock shows confirmation dialog
  • Confirming locks the app and shows lock screen
  • Password is required to unlock again

Closes #62

- Add reset_db_connection() to clear database state
- Add POST /api/auth/logout endpoint
- Add Security section with Lock App button in Settings
- Include confirmation dialog before locking

Closes #62
@comppaz
comppaz merged commit 159b7c3 into main Dec 19, 2025
1 check passed
@comppaz
comppaz deleted the feat/lock-app branch December 23, 2025 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add lock app functionality to settings

1 participant