mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-05-05 09:36:41 +07:00
logging user in by social
This commit is contained in:
parent
505242c099
commit
43968f14b2
6 changed files with 71 additions and 16 deletions
|
@ -126,3 +126,10 @@ export const authAttachSocial = (token: string) => ({
|
|||
type: AUTH_USER_ACTIONS.ATTACH_SOCIAL,
|
||||
token,
|
||||
});
|
||||
|
||||
export const authLoginWithSocial = (token: string, username?: string, password?: string) => ({
|
||||
type: AUTH_USER_ACTIONS.LOGIN_WITH_SOCIAL,
|
||||
token,
|
||||
username,
|
||||
password,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue