diff --git a/api/controllers/console/auth/mfa.py b/api/controllers/console/auth/mfa.py index cd23dd13ed..38d0278125 100644 --- a/api/controllers/console/auth/mfa.py +++ b/api/controllers/console/auth/mfa.py @@ -115,4 +115,4 @@ class MFAVerifyApi(Resource): else: return {"error": "Invalid MFA token"}, 400 except Exception as e: - return {"error": str(e)}, 500 \ No newline at end of file + return {"error": str(e)}, 500 diff --git a/api/migrations/versions/2025_07_08_1500-abc123def456_add_account_mfa_settings_table.py b/api/migrations/versions/2025_07_08_1500-abc123def456_add_account_mfa_settings_table.py index 2110be0021..2d09e1717f 100644 --- a/api/migrations/versions/2025_07_08_1500-abc123def456_add_account_mfa_settings_table.py +++ b/api/migrations/versions/2025_07_08_1500-abc123def456_add_account_mfa_settings_table.py @@ -40,4 +40,4 @@ def downgrade(): # ### commands auto generated by Alembic - please adjust! ### op.drop_index('account_mfa_settings_account_id_idx', table_name='account_mfa_settings') op.drop_table('account_mfa_settings') - # ### end Alembic commands ### \ No newline at end of file + # ### end Alembic commands ### diff --git a/api/services/mfa_service.py b/api/services/mfa_service.py index 637d4920af..04391d3591 100644 --- a/api/services/mfa_service.py +++ b/api/services/mfa_service.py @@ -218,4 +218,4 @@ class MFAService: "enabled": mfa_settings.enabled, "setup_at": mfa_settings.setup_at.isoformat() if mfa_settings.setup_at else None, "has_backup_codes": mfa_settings.backup_codes is not None - } \ No newline at end of file + } diff --git a/api/tests/integration_tests/controllers/console/auth/test_login_mfa_integration.py b/api/tests/integration_tests/controllers/console/auth/test_login_mfa_integration.py index 50505166fb..c15f3a91af 100644 --- a/api/tests/integration_tests/controllers/console/auth/test_login_mfa_integration.py +++ b/api/tests/integration_tests/controllers/console/auth/test_login_mfa_integration.py @@ -327,4 +327,4 @@ class TestMFAEndToEndFlow(unittest.TestCase): if __name__ == '__main__': - unittest.main() \ No newline at end of file + unittest.main() diff --git a/api/tests/unit_tests/controllers/console/auth/test_mfa.py b/api/tests/unit_tests/controllers/console/auth/test_mfa.py index 4ef1fd145e..a1e06b18d3 100644 --- a/api/tests/unit_tests/controllers/console/auth/test_mfa.py +++ b/api/tests/unit_tests/controllers/console/auth/test_mfa.py @@ -317,4 +317,4 @@ class TestMFAEndpoints(unittest.TestCase): if __name__ == '__main__': - unittest.main() \ No newline at end of file + unittest.main() diff --git a/api/tests/unit_tests/services/test_mfa_service.py b/api/tests/unit_tests/services/test_mfa_service.py index 6d16b04f09..f3536b027f 100644 --- a/api/tests/unit_tests/services/test_mfa_service.py +++ b/api/tests/unit_tests/services/test_mfa_service.py @@ -357,4 +357,4 @@ class TestMFAService(unittest.TestCase): if __name__ == '__main__': - unittest.main() \ No newline at end of file + unittest.main() diff --git a/web/app/components/header/account-setting/mfa-page.tsx b/web/app/components/header/account-setting/mfa-page.tsx index 25b049f79c..1b5b18a038 100644 --- a/web/app/components/header/account-setting/mfa-page.tsx +++ b/web/app/components/header/account-setting/mfa-page.tsx @@ -322,4 +322,4 @@ export default function MFAPage() { ) -} \ No newline at end of file +} diff --git a/web/app/signin/components/mfa-verification.tsx b/web/app/signin/components/mfa-verification.tsx index 6ecc232d33..2a30bcd96d 100644 --- a/web/app/signin/components/mfa-verification.tsx +++ b/web/app/signin/components/mfa-verification.tsx @@ -134,4 +134,4 @@ export default function MFAVerification({ email, password, inviteToken, isInvite ) -} \ No newline at end of file +} diff --git a/web/i18n/de-DE/mfa.ts b/web/i18n/de-DE/mfa.ts index fbdc369ede..756042772f 100644 --- a/web/i18n/de-DE/mfa.ts +++ b/web/i18n/de-DE/mfa.ts @@ -32,4 +32,4 @@ const translation = { done: 'Fertig', } -export default translation \ No newline at end of file +export default translation diff --git a/web/i18n/en-US/mfa.ts b/web/i18n/en-US/mfa.ts index dc51af4ded..033197e5b7 100644 --- a/web/i18n/en-US/mfa.ts +++ b/web/i18n/en-US/mfa.ts @@ -32,4 +32,4 @@ const translation = { done: 'Done', } -export default translation \ No newline at end of file +export default translation diff --git a/web/i18n/ja-JP/mfa.ts b/web/i18n/ja-JP/mfa.ts index ae78c38e5b..d299072fd7 100644 --- a/web/i18n/ja-JP/mfa.ts +++ b/web/i18n/ja-JP/mfa.ts @@ -33,4 +33,4 @@ const translation = { done: '完了', } -export default translation \ No newline at end of file +export default translation diff --git a/web/i18n/zh-Hans/mfa.ts b/web/i18n/zh-Hans/mfa.ts index ca3059c795..2902124d3b 100644 --- a/web/i18n/zh-Hans/mfa.ts +++ b/web/i18n/zh-Hans/mfa.ts @@ -32,4 +32,4 @@ const translation = { done: '完成', } -export default translation \ No newline at end of file +export default translation diff --git a/web/service/use-mfa.ts b/web/service/use-mfa.ts index ae754445be..e825f891ba 100644 --- a/web/service/use-mfa.ts +++ b/web/service/use-mfa.ts @@ -26,4 +26,4 @@ export const disableMFA = (data: { password: string }) => { return post('/console/api/account/mfa/disable', { body: data, }) -} \ No newline at end of file +}