Documentation Index
Fetch the complete documentation index at: https://docs.younegotiate.com/llms.txt
Use this file to discover all available pages before exploring further.
Real-World Example
Maya is a YouNegotiate mail response user. She opens EcoMail Hub / EcoPortal, enters her email and password, completes reCAPTCHA, and lands on the Pending/Delivery dashboard. If Maya is already logged in, the login page should redirect her into the portal instead of asking her to sign in again.Visual Flow
How It Should Work
- It should authenticate only EcoMail Hub / EcoPortal users.
- It should use the
consumer-response-managerguard. - It should rate-limit repeated failed attempts.
- It should redirect successful users to the dashboard.
Login-As Token Flow
When the app creates a login-as token for an EcoMail Hub user, thelogin-as/{token} route should consume that one-time cached token, sign in the matching EcoMail Hub user, remove the token, and redirect to Dashboard.
It should reject expired, invalid, or userless tokens instead of creating a session.
How It Should Not Work
- It should not log in creditor, consumer, or Super Admin users through this page.
- It should not bypass reCAPTCHA when the form requires it.
- It should not reuse stale local browser state after login.
Developer Notes
- Login uses the
consumer-response-managerguard and regenerates the session after authentication. - Failed login attempts are throttled by email and IP address.
Related App Areas
routes/ecomailhub/auth.phpapp/Livewire/ConsumerResponseManager/Auth/LoginPage.phpapp/Livewire/ConsumerResponseManager/Forms/LoginForm.phpapp/Http/Controllers/Auth/ConsumerResponseManagerLoginAsController.php

