client/src/actions/authActions.js
author duong tam kien <tk@deveha.com>
Mon, 19 Jun 2017 14:47:12 +0200
changeset 50 d43b1d421a05
parent 44 3b20e2b584fe
child 52 96f8a4a59bd9
permissions -rw-r--r--
add readme

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

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