You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remember-me by default: on registration and pre-checked on login #97
app/Livewire/RegistrationForm.php:199 logs new users in with Auth::login($user) — no remember. With SESSION_LIFETIME=120, a new sailor who registers and comes back to log a flash the next weekend is logged out. That's likely the first impression after sign-up.
The login form's "Remember me" checkbox (resources/views/auth/login.blade.php:41) is unchecked by default. The app is a personal logbook used on personal devices; staying signed in is the expected default.
Proposed
Registration: Auth::login($user, remember: true).
Login form: render the "Remember me" checkbox checked by default (users on a shared computer can untick it).
Tests: registration test asserts remember_token is set; LoginTest::test_remember_me_functionality still covers the opt-out path when unticked.
Activity