@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/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)