diff --git a/src/components/LoginForm.js b/src/components/LoginForm.js
index 7893bb8c967509d8589d31665e1f1a57c4b34fcb..2714949f5208ed579754098086939a4fe2e10798 100644
--- a/src/components/LoginForm.js
+++ b/src/components/LoginForm.js
@@ -56,7 +56,7 @@ export class LoginForm extends React.Component {
             this.props.handleState(result);
             this.handleView();
           } else {
-            this.handleError(result.errorResponse.message);
+            this.handleError(result.message);
           }
         },
         // Note: it's important to handle errors here
diff --git a/src/components/RegisterForm.js b/src/components/RegisterForm.js
index f0ead02cce19af21937d132a54443f593d8ad9d4..5358a600d5063eefbe24bff06e8fb3da05a78afb 100644
--- a/src/components/RegisterForm.js
+++ b/src/components/RegisterForm.js
@@ -62,7 +62,7 @@ export class RegisterForm extends React.Component {
               this.props.handleState(result);
               this.handleView();
             } else {
-              this.handleError(result.errorResponse.message);
+              this.handleError(result.message);
             }
           },
           // Note: it's important to handle errors here