@opexa/portal-sdk 0.59.102 → 0.59.103
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-3N7UZTY4.js → chunk-V5LOWEED.js} +11 -2
- package/dist/chunk-V5LOWEED.js.map +1 -0
- package/dist/index.cjs +9 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/services/index.cjs +9 -0
- package/dist/services/index.cjs.map +1 -1
- package/dist/services/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-3N7UZTY4.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -4850,6 +4850,15 @@ var AuthService = class {
|
|
|
4850
4850
|
error: createOperationError("InvalidReCAPTCHAResponseError")
|
|
4851
4851
|
};
|
|
4852
4852
|
}
|
|
4853
|
+
if (input.type === "NAME_AND_PASSWORD" && res.status === 401) {
|
|
4854
|
+
return {
|
|
4855
|
+
ok: false,
|
|
4856
|
+
error: statusCodeToOperationError(
|
|
4857
|
+
res.status,
|
|
4858
|
+
"Invalid username or password"
|
|
4859
|
+
)
|
|
4860
|
+
};
|
|
4861
|
+
}
|
|
4853
4862
|
return {
|
|
4854
4863
|
ok: false,
|
|
4855
4864
|
error: statusCodeToOperationError(res.status)
|