Project

General

Profile

BUG #4115

Updated by Nazmul Hossain Shovon 2 months ago

**Issue Description**   
 When a user signs in **simultaneously on two browser tabs** without refreshing either tab, and then **logs out from one tab**, refreshing the **second tab** displays an incorrect error message: **“User not registered.”** This message is misleading and does not accurately reflect the user’s authentication state. 

 **Module / Page**   
 Sign In (Multiple Tabs) 

 **Module Section**   
 Authentication / Session Management 

 **Screen Size**   
 All Devices 

 --- 

 #### Steps to Reproduce 
 1. Open the application in **same browser and two tabs**. 
 2. Manually enter valid credentials and **sign in on both tabs** without refreshing either. 
 3. Log out from **one tab**. 
 4. Refresh the **second tab**. 

 **Expected Result**   
 The second tab should either: 
 Redirect the user to the Homepage or Sign In page   


 **Actual Result**   
 Refreshing the second tab shows the incorrect message: **“User not registered.”** 

 **Attachments**   
 [PoC](https://drive.google.com/file/d/1u1piQfMwPP4iOazCAr9d9NWByEkEu6Ra/view?usp=sharing) 

 **Types of Issue**   
 Functional Issue 

 --- 

 **Root Cause:**   
 wrong message in middleware 

   

 **Impacted Area:**   
 sign in form

Back