| author | Alexandre Segura <mex.zktk@gmail.com> |
| Mon, 26 Jun 2017 16:48:52 +0200 | |
| changeset 91 | 143ff08ec2cc |
| parent 89 | 06f609adfbf8 |
| child 100 | 6fd752d98933 |
| permissions | -rw-r--r-- |
import * as types from '../constants/actionTypes'; export const loginSubmit = (username, password) => { return { type: types.AUTH_LOGIN_SUBMIT, username, password }; } export const logout = () => { return { type: types.AUTH_LOGOUT }; } export const registerSubmit = (username, email, password1, password2) => { return { type: types.AUTH_REGISTER_SUBMIT, username, email, password1, password2 }; }