← All Reports

Report #17

Project: shop siyadatech.studio

2026-03-01 13:56:48

#17 2026-03-01 13:56:48

Description

Issue description When attempting to log in, the login form displays an error message “Session expired” immediately (or after submitting credentials), and the user cannot complete authentication. The form remains on the login page with the error shown under the password field, indicating the login flow is incorrectly treating the attempt as an expired/invalid session instead of performing a normal sign-in. Expected behavior If the user is not logged in, submitting valid email + password should create a new authenticated session and redirect the user to their account/dashboard. “Session expired” should only appear when a previously valid session/token is no longer valid and the system requires re-authentication (e.g., when accessing a protected page), not as a generic login failure message. Invalid credentials should show a clear “invalid email/password” type message (not “session expired”). Acceptance criteria Logging in with valid credentials succeeds and redirects to the expected authenticated destination. Logging in with invalid credentials shows an “invalid credentials” message (or equivalent), not “Session expired.” If an existing session is expired, the app: clears the expired session state, and allows the user to log in successfully on the next submit. The “Session expired” message only appears when: a protected resource is accessed with an expired token/session, or a refresh-token/session-renewal attempt fails due to expiration. Refreshing the login page does not preserve/rehydrate a stale “expired session” state that blocks login.

Console Output

index-CSP9K0az.js:12  POST https://shop.siyadatech.studio/api/v1/auth/login 401 (Unauthorized)
we @ index-CSP9K0az.js:12
login @ index-CSP9K0az.js:12
g @ index-CSP9K0az.js:12
j @ index-CSP9K0az.js:12
Wd @ index-CSP9K0az.js:9
(anonymous) @ index-CSP9K0az.js:9
to @ index-CSP9K0az.js:9
Dr @ index-CSP9K0az.js:9
Jr @ index-CSP9K0az.js:10
Tg @ index-CSP9K0az.js:10
login:1 Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.

Screenshots & Video