Skip to content

Commit

Permalink
fix: disable 2fa
Browse files Browse the repository at this point in the history
  • Loading branch information
siandreev committed Jan 6, 2025
1 parent b12990a commit a86362f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/uikit/src/pages/settings/Dev.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ const EnableTwoFASettings = () => {
const { mutate: mutateSettings } = useMutateDevSettings();
const { data: devSettings } = useDevSettings();

return null; // TODO force disable 2fa on frontend. SC must be improved

const config = useActiveConfig();
if (config.flags?.disable_2fa) {
return null;
Expand Down

0 comments on commit a86362f

Please sign in to comment.