towerops/lib/towerops_web/controllers
Graham McIntire 3eb95b5f90
Streamline login flow and fix test failures
Login flow improvements:
- Remove "Welcome back!" flash message on successful login
- Auto-login users clicking magic links without confirmation prompt
- Always use "remember me" for magic link logins
- Fix Accounts.login_user_by_magic_link/1 to handle invalid token format

Test fixes:
- Add @tag :integration to Ping tests (require actual system ping)
- Add halt() calls to UserAuth.start_impersonation error paths

Users now go directly to their intended destination after clicking a
magic link, with no interruption for "log in and stay logged in" choice.
2026-01-13 13:08:24 -06:00
..
api fix dialyzer and credo 2026-01-11 15:01:57 -06:00
error_html add error pages 2026-01-06 14:37:48 -06:00
page_html separate out marketing layouts 2026-01-06 14:46:39 -06:00
user_registration_html Improve UI styling and remove DaisyUI dependencies 2026-01-03 11:02:38 -06:00
user_session_html add passkey 2026-01-09 12:26:32 -06:00
user_settings_html add passkey 2026-01-09 12:26:32 -06:00
admin_controller.ex Add superuser system with user impersonation for admin support 2026-01-06 12:50:10 -06:00
error_html.ex add error pages 2026-01-06 14:37:48 -06:00
error_json.ex init 2025-12-21 11:10:43 -06:00
health_controller.ex Add /health endpoint for Kubernetes probes 2026-01-04 10:56:03 -06:00
page_controller.ex add marketing site 2026-01-06 14:34:48 -06:00
page_html.ex init 2025-12-21 11:10:43 -06:00
user_credential_controller.ex add passkey 2026-01-09 12:26:32 -06:00
user_registration_controller.ex 1. User Authentication 2025-12-21 13:31:59 -06:00
user_registration_html.ex 1. User Authentication 2025-12-21 13:31:59 -06:00
user_session_controller.ex Streamline login flow and fix test failures 2026-01-13 13:08:24 -06:00
user_session_html.ex 1. User Authentication 2025-12-21 13:31:59 -06:00
user_settings_controller.ex add passkey 2026-01-09 12:26:32 -06:00
user_settings_html.ex 1. User Authentication 2025-12-21 13:31:59 -06:00