Update totp disable modal; require password for enable operation
This commit is contained in:
parent
92926ca193
commit
2d836156d2
10 changed files with 182 additions and 121 deletions
|
@ -27,7 +27,7 @@ export interface RenderDialogProps extends DialogProps {
|
|||
export type WrapperProps = Omit<RenderDialogProps, 'children' | 'open' | 'onClose'>;
|
||||
export interface DialogWrapperContextType {
|
||||
props: Readonly<WrapperProps>;
|
||||
setProps: Callback<Partial<WrapperProps>>;
|
||||
setProps: React.Dispatch<React.SetStateAction<WrapperProps>>;
|
||||
close: () => void;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue