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
Improved login error handling to display a custom error message when BigCommerce indicates a password reset is required, instead of showing a generic error message.
6
+
7
+
## What's Fixed
8
+
9
+
When attempting to log in with an account that requires a password reset, users now see an informative error message: "Password reset required. Please check your email for instructions to reset your password."
10
+
11
+
**Before**: Generic "something went wrong" error message
12
+
**After**: Clear error message explaining the password reset requirement
13
+
14
+
## Migration
15
+
16
+
### Step 1: Update Translation Files
17
+
18
+
Add this translation key to your locale files (e.g., `core/messages/en.json`):
19
+
20
+
```json
21
+
{
22
+
"Auth": {
23
+
"Login": {
24
+
"passwordResetRequired": "Password reset required. Please check your email for instructions to reset your password.",
25
+
}
26
+
}
27
+
}
28
+
```
29
+
30
+
Repeat for all supported locales if you maintain custom translations.
31
+
32
+
### Step 2: Update Login Server Action
33
+
34
+
In your login server action (e.g., `core/app/[locale]/(default)/(auth)/login/_actions/login.ts`):
0 commit comments