From bf7ac6af587f68553b83a54fcb724dfc9d684644 Mon Sep 17 00:00:00 2001
From: Jules Laplace <jules@okfoc.us>
Date: Mon, 20 Mar 2017 01:03:23 +0100
Subject: refactor frontend

---
 client/components/LoggedOutView.jsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'client/components/LoggedOutView.jsx')

diff --git a/client/components/LoggedOutView.jsx b/client/components/LoggedOutView.jsx
index f217143..0773059 100644
--- a/client/components/LoggedOutView.jsx
+++ b/client/components/LoggedOutView.jsx
@@ -137,8 +137,9 @@ class SignupForm extends React.Component {
     event.preventDefault()
     const usersService = client.service('users')
     usersService.create(this.state).then(result => {
+      console.log(result)
       return client.authenticate({
-        strategy: 'local',
+        type: 'local',
         email: this.state.email,
         password: this.state.password,
       })
-- 
cgit v1.2.3-70-g09d2

