Librechat-Mobile/feature/settings
Garfie ff25ef6f47 fix(settings): stop double-invoking authRepository.logout on logout/delete
SettingsViewModel.logout() and deleteAccount() each called
authRepository.logout() directly before flipping the state flag that
drives the screen's LaunchedEffect -> onLogout callback ->
NavHostViewModel.logout(), which invokes authRepository.logout() again.
Each redundant call fires a POST /api/auth/logout that 401s (tokens
already gone) and re-runs session cleanup; with the planned full-wipe
change that duplication becomes actively harmful.

Collapse SettingsViewModel.logout() to a single state update, and drop
the direct authRepository.logout() call from the deleteAccount success
branch. NavHostViewModel.logout() remains the single source of truth
for the cleanup side of the flow.
2026-04-14 22:52:15 -05:00
..
src fix(settings): stop double-invoking authRepository.logout on logout/delete 2026-04-14 22:52:15 -05:00
build.gradle.kts chore: rename package com.librechat to com.garfiec.librechat 2026-04-03 16:12:37 -05:00
CLAUDE.md refactor: migrate from Navigation Compose 2 to Navigation Compose 3 2026-04-04 22:26:27 -05:00