client/src/actions/authActions.js
changeset 44 3b20e2b584fe
child 52 96f8a4a59bd9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/actions/authActions.js	Fri Jun 16 18:36:39 2017 +0200
@@ -0,0 +1,9 @@
+import * as types from '../constants/actionTypes';
+
+export const loginSubmit = (username, password) => {
+  return {
+    type: types.AUTH_LOGIN_SUBMIT,
+    username,
+    password
+  };
+}