client/src/actions/authActions.js
author Alexandre Segura <mex.zktk@gmail.com>
Mon, 19 Jun 2017 12:32:11 +0200
changeset 47 64428c7ebc19
parent 44 3b20e2b584fe
child 52 96f8a4a59bd9
permissions -rw-r--r--
Store token & user.

import * as types from '../constants/actionTypes';

export const loginSubmit = (username, password) => {
  return {
    type: types.AUTH_LOGIN_SUBMIT,
    username,
    password
  };
}