client/src/actions/authActions.js
changeset 89 06f609adfbf8
parent 52 96f8a4a59bd9
child 100 6fd752d98933
--- a/client/src/actions/authActions.js	Mon Jun 26 16:05:47 2017 +0200
+++ b/client/src/actions/authActions.js	Mon Jun 26 15:45:50 2017 +0200
@@ -13,3 +13,13 @@
     type: types.AUTH_LOGOUT
   };
 }
+
+export const registerSubmit = (username, email, password1, password2) => {
+  return {
+    type: types.AUTH_REGISTER_SUBMIT,
+    username,
+    email,
+    password1,
+    password2
+  };
+}