mirror of
https://github.com/plankanban/planka.git
synced 2025-12-23 01:11:40 +03:00
19 lines
384 B
JavaScript
19 lines
384 B
JavaScript
|
|
import EntryActionTypes from '../../constants/EntryActionTypes';
|
||
|
|
|
||
|
|
export const authenticate = (data) => ({
|
||
|
|
type: EntryActionTypes.AUTHENTICATE,
|
||
|
|
payload: {
|
||
|
|
data,
|
||
|
|
},
|
||
|
|
});
|
||
|
|
|
||
|
|
export const clearAuthenticationError = () => ({
|
||
|
|
type: EntryActionTypes.AUTHENTICATION_ERROR_CLEAR,
|
||
|
|
payload: {},
|
||
|
|
});
|
||
|
|
|
||
|
|
export const logout = () => ({
|
||
|
|
type: EntryActionTypes.LOGOUT,
|
||
|
|
payload: {},
|
||
|
|
});
|