diff -r 2a861fed6bde -r 06f609adfbf8 client/src/actions/authActions.js --- 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 + }; +}