From 7e483d0b582fd72aaac995cd4a03096e9b1a71af Mon Sep 17 00:00:00 2001 From: Twyco Date: Tue, 15 Sep 2026 09:17:27 +0200 Subject: [PATCH] feat(KAN-37): rebuild security and application key settings --- .../js/components/TwoFactorRecoveryCodes.vue | 254 +++++---- .../js/components/TwoFactorSetupModal.vue | 476 ++++++++--------- resources/js/composables/useTwoFactorAuth.ts | 187 +++---- resources/js/layouts/settings/Layout.vue | 4 +- resources/js/locales/en.ts | 90 ++++ resources/js/pages/settings/Applications.vue | 460 ++++++++++------ resources/js/pages/settings/Security.vue | 500 +++++++++++------- tests/Feature/Settings/SecurityTest.php | 52 ++ tests/Feature/Settings/SecurityUiTest.php | 18 + .../Feature/Settings/UserApplicationTest.php | 26 +- tests/Fixtures/security-browser.mjs | 316 +++++++++++ tests/Fixtures/security-preview.mjs | 17 + tests/Fixtures/security.mjs | 238 +++++++++ 13 files changed, 1814 insertions(+), 824 deletions(-) create mode 100644 tests/Feature/Settings/SecurityUiTest.php create mode 100644 tests/Fixtures/security-browser.mjs create mode 100644 tests/Fixtures/security-preview.mjs create mode 100644 tests/Fixtures/security.mjs diff --git a/resources/js/components/TwoFactorRecoveryCodes.vue b/resources/js/components/TwoFactorRecoveryCodes.vue index 684add3..b8e2af4 100644 --- a/resources/js/components/TwoFactorRecoveryCodes.vue +++ b/resources/js/components/TwoFactorRecoveryCodes.vue @@ -1,123 +1,169 @@