1
0
Fork 0
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:
Fedor Katurov 2020-07-29 18:49:29 +07:00
parent 505242c099
commit 43968f14b2
6 changed files with 71 additions and 16 deletions

View file

@ -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,
});