client/src/actions/authActions.js
author Alexandre Segura <mex.zktk@gmail.com>
Mon, 19 Jun 2017 15:05:36 +0200
changeset 51 08d46c730397
parent 44 3b20e2b584fe
child 52 96f8a4a59bd9
permissions -rw-r--r--
Fix APIClient.

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

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