* feat: add dim and blur to unavailable 2fa * feat: message over disabled 2FA * feat: 2fa remove overlay and dimming * fix: add newline to _ui,css * fix: tsc errors * Update app/assets/javascripts/preferences/panes/two-factor-auth/TwoFactorAuthView.tsx Co-authored-by: Vardan Hakobyan <vardan_live@live.com> * refactor: rename s to status Co-authored-by: Vardan Hakobyan <vardan_live@live.com>
14 lines
428 B
TypeScript
14 lines
428 B
TypeScript
import { FunctionComponent } from 'preact';
|
|
import { PreferencesPane } from '../components';
|
|
import { TwoFactorAuthWrapper } from './two-factor-auth';
|
|
import { MfaProps } from './two-factor-auth/MfaProps';
|
|
|
|
export const Security: FunctionComponent<MfaProps> = (props) => (
|
|
<PreferencesPane>
|
|
<TwoFactorAuthWrapper
|
|
mfaProvider={props.mfaProvider}
|
|
userProvider={props.userProvider}
|
|
/>
|
|
</PreferencesPane>
|
|
);
|