mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-05-02 14:36:41 +07:00
now user can login
This commit is contained in:
parent
e7960a6bf8
commit
e19001ca82
25 changed files with 493 additions and 32844 deletions
15
src/redux/auth/constants.js
Normal file
15
src/redux/auth/constants.js
Normal file
|
@ -0,0 +1,15 @@
|
|||
export const AUTH_ACTIONS = {
|
||||
|
||||
};
|
||||
|
||||
export const ROLES = {
|
||||
guest: 'guest',
|
||||
vk: 'vk',
|
||||
};
|
||||
|
||||
export const EMPTY_USER = {
|
||||
token: '',
|
||||
name: '',
|
||||
role: ROLES.guest,
|
||||
picture: '',
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue