cp.nvim/lua/cp
Barrett Ruth df934efb19
fix(submit): clear cached credentials on login failure
Problem: bad credentials were saved to cache before validation,
so subsequent `:CP submit` calls silently reused them instead of
re-prompting the user.

Solution: match `"Login failed"` in the submit error callback and
call `cache.clear_credentials()` so the next attempt re-prompts.
2026-03-05 13:26:29 -05:00
..
commands refactor(logger): table-based LogOpts; add sync, on_done to test stream 2026-03-05 12:54:37 -05:00
pickers refactor(logger): table-based LogOpts; add sync, on_done to test stream 2026-03-05 12:54:37 -05:00
runner refactor(logger): table-based LogOpts; add sync, on_done to test stream 2026-03-05 12:54:37 -05:00
ui refactor(logger): table-based LogOpts; add sync, on_done to test stream 2026-03-05 12:54:37 -05:00
cache.lua refactor(cache): nest credentials under platform namespace (#293) 2026-03-04 13:37:22 -05:00
config.lua refactor(run): remove I/O view test navigation keymaps 2026-03-04 00:26:22 -05:00
constants.lua refactor(credentials): promote login/logout to top-level actions (#292) 2026-03-04 13:09:32 -05:00
credentials.lua refactor(logger): table-based LogOpts; add sync, on_done to test stream 2026-03-05 12:54:37 -05:00
health.lua fix: replace deprecated vim.loop with vim.uv 2026-02-26 22:45:07 -05:00
helpers.lua feat(ui): auto-hide source buffer on close 2025-10-24 14:47:12 -04:00
init.lua refactor(logger): table-based LogOpts; add sync, on_done to test stream 2026-03-05 12:54:37 -05:00
log.lua refactor(logger): table-based LogOpts; add sync, on_done to test stream 2026-03-05 12:54:37 -05:00
race.lua refactor(logger): table-based LogOpts; add sync, on_done to test stream 2026-03-05 12:54:37 -05:00
restore.lua refactor(logger): table-based LogOpts; add sync, on_done to test stream 2026-03-05 12:54:37 -05:00
scraper.lua refactor(logger): table-based LogOpts; add sync, on_done to test stream 2026-03-05 12:54:37 -05:00
setup.lua fix(setup): guard against overwriting existing problem files 2026-03-05 13:00:24 -05:00
state.lua refactor(run): remove I/O view test navigation keymaps 2026-03-04 00:26:22 -05:00
stress.lua refactor(logger): table-based LogOpts; add sync, on_done to test stream 2026-03-05 12:54:37 -05:00
submit.lua fix(submit): clear cached credentials on login failure 2026-03-05 13:26:29 -05:00
utils.lua refactor(logger): table-based LogOpts; add sync, on_done to test stream 2026-03-05 12:54:37 -05:00
version.lua fix: refactor 2025-09-21 11:19:00 -04:00