mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-26 05:16:41 +07:00
added request code dialog
This commit is contained in:
parent
c0c832d158
commit
6dcb21e9e4
18 changed files with 292 additions and 88 deletions
|
@ -77,6 +77,11 @@ export const authPatchUser = (user: Partial<IUser>) => ({
|
|||
user,
|
||||
});
|
||||
|
||||
export const authRequestRestoreCode = (field: string) => ({
|
||||
type: AUTH_USER_ACTIONS.REQUEST_RESTORE_CODE,
|
||||
field,
|
||||
});
|
||||
|
||||
export const authSetRestore = (restore: Partial<IAuthState['restore']>) => ({
|
||||
type: AUTH_USER_ACTIONS.SET_RESTORE,
|
||||
restore,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue