Skip to content

Instantly share code, notes, and snippets.

@blogcacanid
Created November 11, 2020 23:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blogcacanid/4b34dacb786c6283926ec56481f9f51f to your computer and use it in GitHub Desktop.
Save blogcacanid/4b34dacb786c6283926ec56481f9f51f to your computer and use it in GitHub Desktop.
types.js Authentication JWT React JS Lumen 7
export const REGISTER_SUCCESS = "REGISTER_SUCCESS";
export const REGISTER_FAIL = "REGISTER_FAIL";
export const LOGIN_SUCCESS = "LOGIN_SUCCESS";
export const LOGIN_FAIL = "LOGIN_FAIL";
export const LOGOUT = "LOGOUT";
export const SET_MESSAGE = "SET_MESSAGE";
export const CLEAR_MESSAGE = "CLEAR_MESSAGE";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment