mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
logging in via social networks
This commit is contained in:
parent
3983b69c73
commit
b28717d6a2
8 changed files with 96 additions and 28 deletions
|
@ -19,9 +19,9 @@ export const authSetToken = (token: IAuthState['token']) => ({
|
|||
token,
|
||||
});
|
||||
|
||||
export const gotPostMessage = (message: MessageEvent) => ({
|
||||
export const gotPostMessage = ({ token }: { token: string }) => ({
|
||||
type: AUTH_USER_ACTIONS.GOT_POST_MESSAGE,
|
||||
message,
|
||||
token,
|
||||
});
|
||||
|
||||
export const authSetUser = (profile: Partial<IUser>) => ({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue