mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 21:06:42 +07:00
added action to perform send register request
This commit is contained in:
parent
88ee0601c8
commit
3a11b01c99
6 changed files with 70 additions and 25 deletions
|
@ -150,3 +150,9 @@ export const authSetRegisterSocialErrors = (
|
|||
type: AUTH_USER_ACTIONS.SET_REGISTER_SOCIAL_ERRORS,
|
||||
errors,
|
||||
});
|
||||
|
||||
export const authSendRegisterSocial = (username: string, password: string) => ({
|
||||
type: AUTH_USER_ACTIONS.SEND_REGISTER_SOCIAL,
|
||||
username,
|
||||
password,
|
||||
});
|
||||
|
|
|
@ -35,6 +35,7 @@ export const AUTH_USER_ACTIONS = {
|
|||
|
||||
SET_REGISTER_SOCIAL: 'SET_REGISTER_SOCIAL',
|
||||
SET_REGISTER_SOCIAL_ERRORS: 'SET_REGISTER_SOCIAL_ERRORS',
|
||||
SEND_REGISTER_SOCIAL: 'SEND_REGISTER_SOCIAL',
|
||||
};
|
||||
|
||||
export const USER_ERRORS = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue