Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Merge branch 'dev' into feat-2FA

Mike Caoaafe068bc1d0
diff --cc package.json
index 2261b776e,96aa7e033..5549f03e1
--- a/package.json
+++ b/package.json
@@@ -86,23 -92,23 +92,33 @@@
"jsonwebtoken": "^9.0.3",
"jszip": "^3.10.1",
"kafkajs": "^2.1.0",
- "lucide-react": "^1.8.0",
- "maxmind": "^5.0.6",
- "motion": "^12.38.0",
- "next": "16.2.4",
- "next-intl": "4.9.1",
+ "lucide-react": "^1.21.0",
+ "maxmind": "^5.0.5",
+ "motion": "^12.41.0",
+ "next": "16.2.9",
+ "next-intl": "4.13.0",
"node-fetch": "^3.2.8",
"npm-run-all": "^4.1.5",
+ "otplib": "^13.4.0",
+ "papaparse": "^5.5.3",
+ "pg": "^8.20.0",
+ "prisma": "^7.7.0",
+ "pure-rand": "^8.4.0",
+ "qrcode": "^1.5.4",
+ "react": "^19.2.5",
+ "react-dom": "^19.2.5",
+ "react-error-boundary": "^6.1.1",
+ "react-resizable-panels": "^4.10.0",
+ "papaparse": "^5.5.4",
+ "pg": "^8.22.0",
+ "prisma": "^7.8.0",
+ "prop-types": "^15.8.1",
+ "punycode": "^2.3.1",
+ "react": "^19.2.7",
+ "react-aria-components": "^1.19.0",
+ "react-dom": "^19.2.7",
+ "react-error-boundary": "^6.1.2",
+ "react-resizable-panels": "^4.11.2",
"react-simple-maps": "^3.0.0",
"react-use-measure": "^2.0.4",
"react-window": "^2.2.7",
@@@ -128,10 -134,11 +144,15 @@@
"@rollup/plugin-replace": "^6.0.3",
"@rollup/plugin-terser": "^1.0.0",
"@rollup/plugin-typescript": "^12.3.0",
+ "@types/jest": "^30.0.0",
+ "@types/node": "^25.6.0",
+ "@types/qrcode": "^1.5.6",
+ "@types/react": "^19.2.14",
+ "@testing-library/jest-dom": "^6.9.1",
+ "@testing-library/react": "^16.3.2",
+ "@testing-library/user-event": "^14.6.1",
+ "@types/node": "^26.0.1",
+ "@types/react": "^19.2.17",
"@types/react-dom": "^19.2.2",
"babel-plugin-react-compiler": "19.1.0-rc.2",
"cross-env": "^10.1.0",
diff --cc pnpm-lock.yaml
index afe27b77d,da88a5ce2..e71239a53
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@@ -134,45 -137,45 +137,48 @@@ importers
npm-run-all:
specifier: ^4.1.5
version: 4.1.5
+ otplib:
+ specifier: ^13.4.0
+ version: 13.4.0
papaparse:
- specifier: ^5.5.3
- version: 5.5.3
+ specifier: ^5.5.4
+ version: 5.5.4
pg:
- specifier: ^8.20.0
- version: 8.20.0
+ specifier: ^8.22.0
+ version: 8.22.0
prisma:
- specifier: ^7.7.0
- pure-rand:
- specifier: ^8.4.0
- version: 8.4.0
- qrcode:
- specifier: ^1.5.4
- version: 1.5.4
+ specifier: ^7.8.0
+ prop-types:
+ specifier: ^15.8.1
+ version: 15.8.1
+ punycode:
+ specifier: ^2.3.1
+ version: 2.3.1
react:
- specifier: ^19.2.5
- version: 19.2.5
+ specifier: ^19.2.7
+ version: 19.2.7
+ react-aria-components:
+ specifier: ^1.19.0
react-dom:
- specifier: ^19.2.5
- version: 19.2.5([email protected])
+ specifier: ^19.2.7
+ version: 19.2.7([email protected])
react-error-boundary:
- specifier: ^6.1.1
- version: 6.1.1([email protected])
+ specifier: ^6.1.2
+ version: 6.1.2([email protected])
react-resizable-panels:
- specifier: ^4.10.0
+ specifier: ^4.11.2
react-simple-maps:
specifier: ^3.0.0
react-use-measure:
specifier: ^2.0.4
react-window:
specifier: ^2.2.7
redis:
specifier: ^5.12.1
version: 5.12.1
@@@ -192,63 -195,66 +198,69 @@@
specifier: ^13.0.1
version: 13.0.1
thenby:
- specifier: ^1.4.0
- version: 1.4.0
+ specifier: ^1.4.1
+ version: 1.4.1
ua-parser-js:
- specifier: ^2.0.9
- version: 2.0.9
+ specifier: ^2.0.10
+ version: 2.0.10
uuid:
- specifier: ^13.0.0
- version: 13.0.0
+ specifier: ^14.0.1
+ version: 14.0.1
zod:
- specifier: ^4.3.6
- version: 4.3.6
+ specifier: ^4.4.3
+ version: 4.4.3
zustand:
- specifier: ^5.0.12
+ specifier: ^5.0.14
devDependencies:
'@biomejs/biome':
- specifier: ^2.4.12
- version: 2.4.12
+ specifier: ^2.5.1
+ version: 2.5.1
'@netlify/plugin-nextjs':
- specifier: ^5.15.9
- version: 5.15.9
+ specifier: ^5.15.12
+ version: 5.15.12
'@rollup/plugin-alias':
specifier: ^6.0.0
- version: 6.0.0([email protected])
+ version: 6.0.0([email protected])
'@rollup/plugin-commonjs':
- specifier: ^29.0.2
- version: 29.0.2([email protected])
+ specifier: ^29.0.3
+ version: 29.0.3([email protected])
'@rollup/plugin-json':
specifier: ^6.0.0
- version: 6.1.0([email protected])
+ version: 6.1.0([email protected])
'@rollup/plugin-node-resolve':
specifier: ^16.0.3
- version: 16.0.3([email protected])
+ version: 16.0.3([email protected])
'@rollup/plugin-replace':
specifier: ^6.0.3
- version: 6.0.3([email protected])
+ version: 6.0.3([email protected])
'@rollup/plugin-terser':
specifier: ^1.0.0
- version: 1.0.0([email protected])
+ version: 1.0.0([email protected])
'@rollup/plugin-typescript':
specifier: ^12.3.0
- '@types/jest':
- specifier: ^30.0.0
- version: 30.0.0
+ '@testing-library/jest-dom':
+ specifier: ^6.9.1
+ version: 6.9.1
+ '@testing-library/react':
+ specifier: ^16.3.2
+ '@testing-library/user-event':
+ specifier: ^14.6.1
+ version: 14.6.1(@testing-library/[email protected])
'@types/node':
- specifier: ^26.0.1
- version: 26.0.1
+ specifier: ^25.6.0
+ version: 25.6.0
+ '@types/qrcode':
+ specifier: ^1.5.6
+ version: 1.5.6
'@types/react':
- specifier: ^19.2.14
- version: 19.2.14
+ specifier: ^19.2.17
+ version: 19.2.17
'@types/react-dom':
specifier: ^19.2.2
- version: 19.2.3(@types/[email protected])
+ version: 19.2.3(@types/[email protected])
babel-plugin-react-compiler:
specifier: 19.1.0-rc.2
version: 19.1.0-rc.2
@@@ -3613,17 -3386,8 +3502,19 @@@ packages
supports-color:
optional: true
+ resolution: {integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-WzMx3mW98SN+zn3hgemf4OzdmyNhhhKz5Ay0pUfQiMQ3e1g+xmTJWp/pKdwKVXhdSkAEGIIzqeuWrL3mV/AXbA==}
+ peerDependencies:
+ babel-plugin-macros: ^3.1.0
+ peerDependenciesMeta:
+ babel-plugin-macros:
+ optional: true
+ resolution: {integrity: sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg==}
resolution: {integrity: sha512-HOJkrhaYsweh+W+e74Yn7YStZOilkoPb6fycpwNLKzSPtruFs48nYis0zy5yJz1+ktUhHxoRDJ27RQAWLIJVJw==}
@@@ -5068,16 -4539,9 +4669,12 @@@
resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==}
- resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==}
- engines: {node: '>=6'}
-
- resolution: {integrity: sha512-o6E5qJV5zkAbIDNhGSIlyOhScKXgQrSRMilfph0clDfM0nEnBOlKlH4sWDmG95BW/CvwNz0vmm7dJVtU2KlMiA==}
+ resolution: {integrity: sha512-+Sl2UErvtsoajRDKCE5/dBz4DIvHXQQnAxtQTF04OJxY0+DyZXSo5P5Bb7XYWOh81syohlYL24hbDwxedPUJCA==}
+ resolution: {integrity: sha512-RUcYcRMCgRWhUE/XabRppXpUwCwaWBNHe5iPXhdvP8wwDGpGpsIf/kxX/ec3zFsOaM1Oq8lEhUqDwk6W7DHkwg==}
+
resolution: {integrity: sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg==}
engines: {node: '>= 0.4'}
@@@ -5262,17 -4702,19 +4835,23 @@@
resolution: {integrity: sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==}
- resolution: {integrity: sha512-SIqCzDRg0s9npO5XQ3tNZioRY1uK06lA41ynBC1YmFTmnY6FjUjVt6s4LoADmwoig1qqD0oK8h1p/8mlMx8Oig==}
+ resolution: {integrity: sha512-y+ichcgc2LrADuhLNAx8DFjVfgz91pRxfZdI3UDhxHvcVEZsenLO+7XaU5vOp0u/7V/wZ+plyuQxtrDlZJ+yeg==}
+
+ resolution: {integrity: sha512-h7Qlt6m4REp25qvIdvbDtVmD4LqVXfpRxhORv9L0jzETM05p4fuPJ3dKyuSXQxDSbXnmS79HAgi9589lGSpLkg==}
+ engines: {node: '>=18'}
+ hasBin: true
+
+ resolution: {integrity: sha512-DWnY5o3YbLWK4GovuAVwpqL+1VwGNdUGrRr++8j8PtQQzvAVZUIMjKQ90fY689sEJZJBbZVw1rXaOKSTitkzPQ==}
+ engines: {node: '>=18'}
+ hasBin: true
+ resolution: {integrity: sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw==}
+ engines: {node: '>=10.13.0'}
+
resolution: {integrity: sha512-ECF4zHLbUItpUgE3OTtLKlPjeBN+fKEczj2zYjDfCGOzicNs0GK3Vg2IoAYwx7LH/XYw43fZQP6xnZ4TkNxSLQ==}
@@@ -6088,8 -5494,8 +5653,10 @@@
resolution: {integrity: sha512-F4LcB0UqUl1zErq+1nYEEzSHJnIwb3AF2XWB94b+afhrekOUijwooAYqFyRbjYkm2PAKBabx6oYv/xDxNi8IBw==}
engines: {node: '>=20.0.0'}
+ resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==}
+ resolution: {integrity: sha512-kjnC1DXBHcxaOaOXBHBeRtltsDG2nUiUni+jP92M9gYdW12rsmx92UsfpH7o5tDRs7I1ZZPSQJQGv3UaRfCiuw==}
resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==}
@@@ -6393,12 -5769,8 +5930,14 @@@
engines: {node: '>=10'}
hasBin: true
+ resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-D+BkEl5MpeTbQ1Rz0io/TLZmwmYUAgvUpS1r2eKUvPicYOnpqzjZE6bVa7rSEYv189zkSM+CVc+hG5X7nVe9LQ==}
+ resolution: {integrity: sha512-D5a/bO0KdalOE3q8MlrRmSxjbKZHT3MQmXkJP+r97Vw8MMwOZKOwUSEyTtK7eSMj2y0kyAjpYMRMZmmLw1FtNQ==}
resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==}
@@@ -6655,12 -5962,8 +6129,14 @@@
resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}
+ resolution: {integrity: sha512-XQegIaBTVUjSHliKqcnFqYypAd4S+WCYt5NIeRs6w/UAry7z8Y9j5ZwRRL4kzq9U3sD6v+85er9FvkEaBpji2w==}
+ hasBin: true
+
+ resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==}
+ resolution: {integrity: sha512-6ZxzVpzDXDa3bJWaHilVayA+BH/1zmxCJoVgvmqJnid/gPoKHxUrS/aC/T6LGQtNHT+XHG9fXPJB4d+IrU30Ew==}
hasBin: true
@@@ -6977,94 -6390,10 +6582,77 @@@ snapshots
dependencies:
'@babel/types': 7.28.2
- '@babel/[email protected]':
- dependencies:
- '@babel/types': 7.29.0
-
- dependencies:
- '@babel/core': 7.29.0
- '@babel/helper-plugin-utils': 7.28.6
-
- dependencies:
- '@babel/core': 7.29.0
- '@babel/helper-plugin-utils': 7.28.6
-
- dependencies:
- '@babel/core': 7.29.0
- '@babel/helper-plugin-utils': 7.28.6
-
+ '@babel/[email protected]':
dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+ '@babel/types': 7.29.7
+ optional: true
'@babel/[email protected]': {}
@@@ -8028,282 -7395,86 +7654,88 @@@
dependencies:
minipass: 7.1.2
- '@istanbuljs/[email protected]':
- dependencies:
- camelcase: 5.3.1
- find-up: 4.1.0
- get-package-type: 0.1.0
- js-yaml: 3.14.2
- resolve-from: 5.0.0
-
- '@istanbuljs/[email protected]': {}
-
+ '@jridgewell/[email protected]':
dependencies:
- '@jest/types': 30.3.0
- '@types/node': 25.6.0
- chalk: 4.1.2
- jest-message-util: 30.3.0
- jest-util: 30.3.0
- slash: 3.0.0
+ '@jridgewell/sourcemap-codec': 1.5.5
+ '@jridgewell/trace-mapping': 0.3.31
+ '@jridgewell/[email protected]':
dependencies:
- '@jest/console': 30.3.0
- '@jest/pattern': 30.0.1
- '@jest/reporters': 30.3.0
- '@jest/test-result': 30.3.0
- '@jest/transform': 30.3.0
- '@jest/types': 30.3.0
- '@types/node': 25.6.0
- ansi-escapes: 4.3.2
- chalk: 4.1.2
- ci-info: 4.4.0
- exit-x: 0.2.2
- graceful-fs: 4.2.11
- jest-changed-files: 30.3.0
- jest-haste-map: 30.3.0
- jest-message-util: 30.3.0
- jest-regex-util: 30.0.1
- jest-resolve: 30.3.0
- jest-resolve-dependencies: 30.3.0
- jest-runner: 30.3.0
- jest-runtime: 30.3.0
- jest-snapshot: 30.3.0
- jest-util: 30.3.0
- jest-validate: 30.3.0
- jest-watcher: 30.3.0
- pretty-format: 30.3.0
- slash: 3.0.0
- transitivePeerDependencies:
- - babel-plugin-macros
- - esbuild-register
- - supports-color
- - ts-node
-
- '@jest/[email protected]': {}
+ '@jridgewell/gen-mapping': 0.3.13
+ '@jridgewell/trace-mapping': 0.3.31
- '@jest/[email protected]': {}
+ '@jridgewell/[email protected]': {}
+ '@jridgewell/[email protected]':
dependencies:
- '@jest/fake-timers': 30.3.0
- '@jest/types': 30.3.0
- '@types/node': 25.6.0
- jest-mock: 30.3.0
+ '@jridgewell/gen-mapping': 0.3.13
+ '@jridgewell/trace-mapping': 0.3.31
- dependencies:
- '@jest/get-type': 30.1.0
+ '@jridgewell/[email protected]': {}
+ '@jridgewell/[email protected]':
dependencies:
- '@jest/get-type': 30.1.0
+ '@jridgewell/resolve-uri': 3.1.2
+ '@jridgewell/sourcemap-codec': 1.5.5
+ '@jridgewell/[email protected]':
dependencies:
- expect: 30.3.0
- jest-snapshot: 30.3.0
- transitivePeerDependencies:
- - supports-color
+ '@jridgewell/resolve-uri': 3.1.2
+ '@jridgewell/sourcemap-codec': 1.5.5
+ '@jridgewell/[email protected]':
dependencies:
- '@jest/types': 30.3.0
- '@sinonjs/fake-timers': 15.3.2
- '@types/node': 25.6.0
- jest-message-util: 30.3.0
- jest-mock: 30.3.0
- jest-util: 30.3.0
+ '@jridgewell/resolve-uri': 3.1.2
+ '@jridgewell/sourcemap-codec': 1.5.5
- '@jest/[email protected]': {}
+ '@kurkle/[email protected]': {}
+ '@mswjs/[email protected]':
dependencies:
- '@jest/environment': 30.3.0
- '@jest/expect': 30.3.0
- '@jest/types': 30.3.0
- jest-mock: 30.3.0
- transitivePeerDependencies:
- - supports-color
+ '@open-draft/deferred-promise': 2.2.0
+ '@open-draft/logger': 0.3.0
+ '@open-draft/until': 2.1.0
+ is-node-process: 1.2.0
+ outvariant: 1.4.3
+ strict-event-emitter: 0.5.1
dependencies:
- '@types/node': 25.6.0
- jest-regex-util: 30.0.1
+ '@emnapi/core': 1.10.0
+ '@emnapi/runtime': 1.10.0
+ '@tybys/wasm-util': 0.10.3
+ optional: true
- dependencies:
- '@bcoe/v8-coverage': 0.2.3
- '@jest/console': 30.3.0
- '@jest/test-result': 30.3.0
- '@jest/transform': 30.3.0
- '@jest/types': 30.3.0
- '@jridgewell/trace-mapping': 0.3.31
- '@types/node': 25.6.0
- chalk: 4.1.2
- collect-v8-coverage: 1.0.3
- exit-x: 0.2.2
- glob: 10.5.0
- graceful-fs: 4.2.11
- istanbul-lib-coverage: 3.2.2
- istanbul-lib-instrument: 6.0.3
- istanbul-lib-report: 3.0.1
- istanbul-lib-source-maps: 5.0.6
- istanbul-reports: 3.2.0
- jest-message-util: 30.3.0
- jest-util: 30.3.0
- jest-worker: 30.3.0
- slash: 3.0.0
- string-length: 4.0.2
- v8-to-istanbul: 9.3.0
- transitivePeerDependencies:
- - supports-color
+ '@netlify/[email protected]': {}
- dependencies:
- '@sinclair/typebox': 0.34.40
-
- dependencies:
- '@jest/types': 30.3.0
- chalk: 4.1.2
- graceful-fs: 4.2.11
- natural-compare: 1.4.0
-
- dependencies:
- '@jridgewell/trace-mapping': 0.3.31
- callsites: 3.1.0
- graceful-fs: 4.2.11
-
- dependencies:
- '@jest/console': 30.3.0
- '@jest/types': 30.3.0
- '@types/istanbul-lib-coverage': 2.0.6
- collect-v8-coverage: 1.0.3
-
- dependencies:
- '@jest/test-result': 30.3.0
- graceful-fs: 4.2.11
- jest-haste-map: 30.3.0
- slash: 3.0.0
-
- dependencies:
- '@babel/core': 7.29.0
- '@jest/types': 30.3.0
- '@jridgewell/trace-mapping': 0.3.31
- babel-plugin-istanbul: 7.0.1
- chalk: 4.1.2
- convert-source-map: 2.0.0
- fast-json-stable-stringify: 2.1.0
- graceful-fs: 4.2.11
- jest-haste-map: 30.3.0
- jest-regex-util: 30.0.1
- jest-util: 30.3.0
- pirates: 4.0.7
- slash: 3.0.0
- write-file-atomic: 5.0.1
- transitivePeerDependencies:
- - supports-color
-
- dependencies:
- '@jest/pattern': 30.0.1
- '@jest/schemas': 30.0.5
- '@types/istanbul-lib-coverage': 2.0.6
- '@types/istanbul-reports': 3.0.4
- '@types/node': 25.6.0
- '@types/yargs': 17.0.33
- chalk: 4.1.2
-
- dependencies:
- '@jest/pattern': 30.0.1
- '@jest/schemas': 30.0.5
- '@types/istanbul-lib-coverage': 2.0.6
- '@types/istanbul-reports': 3.0.4
- '@types/node': 25.6.0
- '@types/yargs': 17.0.35
- chalk: 4.1.2
-
- '@jridgewell/[email protected]':
- dependencies:
- '@jridgewell/sourcemap-codec': 1.5.5
- '@jridgewell/trace-mapping': 0.3.30
-
- '@jridgewell/[email protected]':
- dependencies:
- '@jridgewell/gen-mapping': 0.3.13
- '@jridgewell/trace-mapping': 0.3.31
-
- '@jridgewell/[email protected]': {}
-
- '@jridgewell/[email protected]':
- dependencies:
- '@jridgewell/gen-mapping': 0.3.13
- '@jridgewell/trace-mapping': 0.3.31
-
- '@jridgewell/[email protected]': {}
-
- '@jridgewell/[email protected]':
- dependencies:
- '@jridgewell/resolve-uri': 3.1.2
- '@jridgewell/sourcemap-codec': 1.5.5
-
- '@jridgewell/[email protected]':
- dependencies:
- '@jridgewell/resolve-uri': 3.1.2
- '@jridgewell/sourcemap-codec': 1.5.5
+ '@next/[email protected]': {}
- '@jridgewell/[email protected]':
- dependencies:
- '@jridgewell/resolve-uri': 3.1.2
- '@jridgewell/sourcemap-codec': 1.5.5
-
- '@kurkle/[email protected]': {}
-
- '@napi-rs/[email protected]':
- dependencies:
- '@emnapi/core': 1.10.0
- '@emnapi/runtime': 1.10.0
- '@tybys/wasm-util': 0.10.1
- optional: true
-
- '@netlify/[email protected]': {}
-
- '@next/[email protected]': {}
-
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
+ '@noble/[email protected]': {}
+
'@nodelib/[email protected]':
dependencies:
'@nodelib/fs.stat': 2.0.5
@@@ -8316,32 -7487,18 +7748,44 @@@
'@nodelib/fs.scandir': 2.1.5
fastq: 1.19.1
+ '@otplib/[email protected]': {}
+
+ '@otplib/[email protected]':
+ dependencies:
+ '@otplib/core': 13.4.0
+ '@otplib/uri': 13.4.0
+
+ '@otplib/[email protected]':
+ dependencies:
+ '@otplib/core': 13.4.0
+ '@scure/base': 2.2.0
+
+ '@otplib/[email protected]':
+ dependencies:
+ '@noble/hashes': 2.2.0
+ '@otplib/core': 13.4.0
+
+ '@otplib/[email protected]':
+ dependencies:
+ '@otplib/core': 13.4.0
+ '@otplib/hotp': 13.4.0
+ '@otplib/uri': 13.4.0
+
+ '@otplib/[email protected]':
+ dependencies:
+ '@otplib/core': 13.4.0
+ '@open-draft/[email protected]': {}
+
+ '@open-draft/[email protected]': {}
+
+ '@open-draft/[email protected]':
+ dependencies:
+ is-node-process: 1.2.0
+ outvariant: 1.4.3
+
+ '@open-draft/[email protected]': {}
+
+ '@oxc-project/[email protected]': {}
'@parcel/[email protected]':
optional: true
@@@ -8742,100 -7948,100 +8235,103 @@@
estree-walker: 2.0.2
picomatch: 4.0.4
optionalDependencies:
- rollup: 4.60.1
+ rollup: 4.62.2
- '@rollup/[email protected]':
+ '@rollup/[email protected]':
optional: true
- '@rollup/[email protected]':
+ '@rollup/[email protected]':
optional: true
- '@rollup/[email protected]':
+ '@rollup/[email protected]':
optional: true
- '@rollup/[email protected]':
+ '@rollup/[email protected]':
optional: true
- '@rollup/[email protected]':
+ '@rollup/[email protected]':
optional: true
- '@rollup/[email protected]':
+ '@rollup/[email protected]':
optional: true
- '@rollup/[email protected]':
+ '@rollup/[email protected]':
optional: true
- '@rollup/[email protected]':
+ '@rollup/[email protected]':
optional: true
- '@rollup/[email protected]':
+ '@rollup/[email protected]':
optional: true
- '@rollup/[email protected]':
+ '@rollup/[email protected]':
optional: true
- '@rollup/[email protected]':
+ '@rollup/[email protected]':
optional: true
- '@rollup/[email protected]':
+ '@rollup/[email protected]':
optional: true
- '@rollup/[email protected]':
+ '@rollup/[email protected]':
optional: true
- '@rollup/[email protected]':
+ '@rollup/[email protected]':
optional: true
- '@rollup/[email protected]':
+ '@rollup/[email protected]':
optional: true
- '@rollup/[email protected]':
+ '@rollup/[email protected]':
optional: true
- '@rollup/[email protected]':
+ '@rollup/[email protected]':
optional: true
- '@rollup/[email protected]':
+ '@rollup/[email protected]':
optional: true
- '@rollup/[email protected]':
+ '@rollup/[email protected]':
optional: true
- '@rollup/[email protected]':
+ '@rollup/[email protected]':
optional: true
- '@rollup/[email protected]':
+ '@rollup/[email protected]':
optional: true
- '@rollup/[email protected]':
+ '@rollup/[email protected]':
optional: true
- '@rollup/[email protected]':
+ '@rollup/[email protected]':
optional: true
- '@rollup/[email protected]':
+ '@rollup/[email protected]':
optional: true
- '@rollup/[email protected]':
+ '@rollup/[email protected]':
optional: true
- '@rrweb/[email protected]': {}
+ '@rrweb/[email protected]':
+ dependencies:
+ '@rrweb/types': 2.0.1
+ fflate: 0.4.8
- '@schummar/[email protected]': {}
+ '@rrweb/[email protected]':
+ dependencies:
+ '@rrweb/types': 2.0.1
+ rrweb: 2.0.1
+ '@scure/[email protected]': {}
+
+ '@sinclair/[email protected]': {}
+ '@rrweb/[email protected]': {}
- '@sindresorhus/[email protected]': {}
+ '@rrweb/[email protected]': {}
- '@sinonjs/[email protected]':
- dependencies:
- type-detect: 4.0.8
+ '@schummar/[email protected]': {}
- '@sinonjs/[email protected]':
- dependencies:
- '@sinonjs/commons': 3.0.1
+ '@sindresorhus/[email protected]': {}
'@standard-schema/[email protected]': {}
@@@ -9104,19 -8315,15 +8605,20 @@@
dependencies:
- '@types/node': 25.6.0
- pg-protocol: 1.13.0
+ '@types/node': 26.0.1
+ pg-protocol: 1.15.0
pg-types: 2.2.0
+ '@types/[email protected]':
+ dependencies:
+ '@types/node': 25.6.0
+
dependencies:
- '@types/react': 19.2.14
+ '@types/react': 19.2.17
- '@types/[email protected]':
+ '@types/[email protected]':
dependencies:
csstype: 3.2.3
@@@ -9949,29 -8919,17 +9220,20 @@@
es-errors: 1.3.0
is-data-view: 1.0.2
dependencies:
- date-fns: 4.1.0
-
+ date-fns: 4.4.0
- dependencies:
- ms: 2.1.3
- optionalDependencies:
- supports-color: 8.1.1
-
dependencies:
ms: 2.1.3
- optionalDependencies:
- supports-color: 8.1.1
+
@@@ -10013,12 -8971,8 +9275,10 @@@
-
+
dependencies:
path-type: 4.0.0
@@@ -11455,13 -9883,15 +10189,16 @@@
dependencies:
- react: 19.2.5
+ react: 19.2.7
dependencies:
- react: 19.2.5
+ react: 19.2.7
+
dependencies:
@@@ -11725,21 -10145,8 +10452,17 @@@
dependencies:
wrappy: 1.0.2
- dependencies:
- mimic-fn: 2.1.0
-
+ dependencies:
+ '@otplib/core': 13.4.0
+ '@otplib/hotp': 13.4.0
+ '@otplib/plugin-base32-scure': 13.4.0
+ '@otplib/plugin-crypto-noble': 13.4.0
+ '@otplib/totp': 13.4.0
+ '@otplib/uri': 13.4.0
+
dependencies:
get-intrinsic: 1.3.0
@@@ -11901,7 -10286,13 +10602,14 @@@
exsolve: 1.0.8
pathe: 2.0.3
+
+ dependencies:
+ playwright-core: 1.61.1
+ optionalDependencies:
+ fsevents: 2.3.2
@@@ -12511,54 -10869,54 +11200,63 @@@
dependencies:
'@types/use-sync-external-store': 0.0.6
- react: 19.2.5
- use-sync-external-store: 1.6.0([email protected])
+ react: 19.2.7
+ use-sync-external-store: 1.6.0([email protected])
optionalDependencies:
- '@types/react': 19.2.14
+ '@types/react': 19.2.17
redux: 5.0.1
+ dependencies:
+ react: 19.2.5
+ react-dom: 19.2.5([email protected])
+
+ dependencies:
+ react: 19.2.7
+ react-dom: 19.2.7([email protected])
+
dependencies:
d3-geo: 2.0.2
d3-selection: 2.0.0
d3-zoom: 2.0.0
prop-types: 15.8.1
- react: 19.2.5
- react-dom: 19.2.5([email protected])
+ react: 19.2.7
+ react-dom: 19.2.7([email protected])
topojson-client: 3.1.0
dependencies:
- '@internationalized/date': 3.12.1
- '@internationalized/number': 3.6.6
- '@internationalized/string': 3.2.8
- '@react-types/shared': 3.34.0([email protected])
- '@swc/helpers': 0.5.21
- react: 19.2.5
- use-sync-external-store: 1.6.0([email protected])
+ '@internationalized/date': 3.12.2
+ '@internationalized/number': 3.6.7
+ '@internationalized/string': 3.2.9
+ '@react-types/shared': 3.36.0([email protected])
+ '@swc/helpers': 0.5.23
+ react: 19.2.7
+ use-sync-external-store: 1.6.0([email protected])
dependencies:
- react: 19.2.5
+ react: 19.2.7
optionalDependencies:
+ react-dom: 19.2.5([email protected])
+
+ react-dom: 19.2.7([email protected])
+
dependencies:
- react: 19.2.5
- react-dom: 19.2.5([email protected])
+ react: 19.2.7
+ react-dom: 19.2.7([email protected])
dependencies:
@@@ -12823,7 -11196,7 +11542,8 @@@
dependencies:
@@@ -13176,13 -11509,7 +11856,14 @@@
commander: 2.20.3
source-map-support: 0.5.21
+ dependencies:
+ '@istanbuljs/schema': 0.1.6
+ glob: 7.2.3
+ minimatch: 3.1.5
+
dependencies:
@@@ -13459,9 -11720,7 +12074,10 @@@
+
diff --cc public/intl/messages/en-US.json
index 980c6c02e,272823c86..2091ce2be
--- a/public/intl/messages/en-US.json
+++ b/public/intl/messages/en-US.json
@@@ -459,36 -442,9 +472,37 @@@
"triggered-event": "Triggered event",
"unauthorized": "Unauthorized",
"user-deleted": "User deleted.",
+ "replay-min-duration-description": "Only show replays at or above this duration.",
"viewed-page": "Viewed page",
"upgrade-required": "This feature requires a {plan} plan subscription.",
- "visitor-log": "Visitor from <b>{country}</b> using <b>{browser}</b> on <b>{os}</b> <b>{device}</b>"
+ "visitor-log": "Visitor from <b>{country}</b> using <b>{browser}</b> on <b>{os}</b> <b>{device}</b>",
+ "two-factor-setup-description": "Each time you log in, in addition to your password, you'll use an authenticator app to generate and use a one-time code.",
+ "two-factor-setup-required-description": "Two-factor authentication (2FA) is required to access Umami.",
+ "two-factor-step1-description": "Scan the QR code below or manually enter the secret key into your authenticator app.",
+ "two-factor-step2-description": "Enter the 6-digit code you see in your authenticator app.",
+ "two-factor-enabled-description": "Your account is now protected with two-factor authentication. From now on, you will need to enter a code from your authenticator app each time you log in.",
+ "two-factor-backup-description": "If you lose access to your authenticator app, you can use one of these one-time backup codes to sign in. Save them somewhere safe; they will not be shown again.",
+ "two-factor-backup-codes-once": "Keep these codes safe. Each code can only be used once.",
+ "two-factor-login-description": "Enter the 6-digit code from your authenticator app.",
+ "two-factor-disable-description": "To confirm, enter your password and a verification code from your authenticator app.",
+ "two-factor-required-message": "Two-factor authentication is required for your account and cannot be disabled. Contact your administrator for help.",
+ "two-factor-override-note": "Per-user and per-team 2FA settings are overridden while global 2FA is enabled.",
+ "two-factor-admin-global-description": "Require all users to set up two-factor authentication when they next log in. Users who have not yet configured 2FA will be prompted to do so before they can access Umami.",
+ "two-factor-require-user-description": "When enabled, this user will be prompted to set up 2FA on their next login if they haven't already.",
+ "two-factor-require-team-description": "When enabled, all members of this team will be prompted to set up 2FA on their next login if they haven't already.",
+ "two-factor-user-description": "Add an extra layer of security to your account. Each time you log in, you will need your password and a code from your authenticator app.",
+ "two-factor-error-invalid-code": "Invalid verification code. Please try again.",
+ "two-factor-error-missing-token": "Authentication token is missing.",
+ "two-factor-error-invalid-partial-token": "Invalid or expired authentication token.",
+ "two-factor-error-invalid-backup-code": "Invalid backup code.",
+ "two-factor-error-code-used": "This code has already been used. Wait for the next code.",
+ "two-factor-error-too-many-attempts": "Too many failed attempts. Your account is temporarily locked.",
+ "two-factor-error-disable-not-allowed": "Two-factor authentication is required and cannot be disabled.",
+ "two-factor-error-incorrect-password": "Incorrect password.",
+ "two-factor-error-already-enabled": "Two-factor authentication is already enabled.",
+ "two-factor-error-not-enabled": "Two-factor authentication is not enabled.",
+ "two-factor-error-no-pending-setup": "No pending two-factor authentication setup found.",
+ "two-factor-locked-message": "Too many failed attempts. Try again at {time}.",
+ "two-factor-active-description": "Your account is protected with two-factor authentication. Each login requires a code from your authenticator app."
}
}
diff --cc public/intl/messages/fr-FR.json
index b6810ad56,8a2173ba3..657a91c4a
--- a/public/intl/messages/fr-FR.json
+++ b/public/intl/messages/fr-FR.json
@@@ -458,35 -434,8 +464,36 @@@
"unauthorized": "Non authorisé!",
"upgrade-required": "Cette fonctionnalité nécessite un abonnement {plan}.",
"user-deleted": "Utilisateur supprimé.",
+ "replay-min-duration-description": "Afficher uniquement les lectures de cette durée ou plus.",
"viewed-page": "Page vue",
- "visitor-log": "Visiteur de <b>{country}</b> utilisant <b>{browser}</b> sur <b>{os}</b> <b>{device}</b>"
+ "visitor-log": "Visiteur de <b>{country}</b> utilisant <b>{browser}</b> sur <b>{os}</b> <b>{device}</b>",
+ "two-factor-setup-description": "À chaque connexion, en plus de votre mot de passe, vous devrez utiliser une application d’authentification pour générer et utiliser un code unique.",
+ "two-factor-setup-required-description": "L’authentification à deux facteurs est obligatoire pour accéder à Umami.",
+ "two-factor-step1-description": "Scannez le QR code ou saisissez manuellement la clé secrète dans votre application d’authentification.",
+ "two-factor-step2-description": "Saisissez le code à 6 chiffres qui s’affiche dans votre application d’authentification.",
+ "two-factor-enabled-description": "Votre compte est désormais protégé par l’authentification à deux facteurs. À partir de maintenant, vous devrez saisir un code provenant de votre application d’authentification à chaque fois que vous vous connecterez.",
+ "two-factor-backup-description": "Si vous perdez l’accès à votre application d’authentification, vous pouvez utiliser l’un de ces codes de récupération pour vous connecter. Enregistrez-les à un endroit sûr ; ils ne seront pas affichés à nouveau.",
+ "two-factor-backup-codes-once": "Gardez ces codes en lieu sûr. Chaque code ne peut être utilisé qu’une seule fois.",
+ "two-factor-login-description": "Saisissez le code à 6 chiffres de votre application d’authentification.",
+ "two-factor-disable-description": "Pour confirmer, saisissez votre mot de passe et un code de vérification provenant de votre application d’authentification.",
+ "two-factor-required-message": "L’authentification à deux facteurs est obligatoire pour votre compte et ne peut pas être désactivée. Contactez votre administrateur pour obtenir de l’aide.",
+ "two-factor-override-note": "Les paramètres d’authentification à deux facteurs au niveau de l’utilisateur et de l’équipe sont ignorés lorsque l’authentification à deux facteurs est activée pour tous les utilisateurs.",
+ "two-factor-admin-global-description": "Obliger tous les utilisateurs à configurer l’authentification à deux facteurs lors de leur prochaine connexion. Les utilisateurs qui n’ont pas encore configuré l’authentification à deux facteurs seront invités à le faire avant d’accéder à Umami.",
+ "two-factor-require-user-description": "Lorsque cette option est activée, cet utilisateur sera invité à configurer l’authentification à deux facteurs lors de sa prochaine connexion s’il ne l'a pas déjà fait.",
+ "two-factor-require-team-description": "Lorsque cette option est activée, tous les membres de cette équipe seront invités à configurer l’authentification à deux facteurs lors de leur prochaine connexion s’ils ne l’ont pas déjà fait.",
+ "two-factor-user-description": "Ajoutez une couche de sécurité supplémentaire à votre compte. À chaque connexion, vous aurez besoin de votre mot de passe et d'un code provenant de votre application d’authentification.",
+ "two-factor-error-invalid-code": "Code de vérification invalide. Veuillez réessayer.",
+ "two-factor-error-missing-token": "Le jeton d'authentification est manquant.",
+ "two-factor-error-invalid-partial-token": "Jeton d'authentification invalide ou expiré.",
+ "two-factor-error-invalid-backup-code": "Code de récupération invalide.",
+ "two-factor-error-code-used": "Ce code a déjà été utilisé. Attendez le prochain code.",
+ "two-factor-error-too-many-attempts": "Trop de tentatives infructueuses. Votre compte est temporairement verrouillé.",
+ "two-factor-error-disable-not-allowed": "L’authentification à deux facteurs est obligatoire et ne peut pas être désactivée.",
+ "two-factor-error-incorrect-password": "Mot de passe incorrect.",
+ "two-factor-error-already-enabled": "L’authentification à deux facteurs est déjà activée.",
+ "two-factor-error-not-enabled": "L’authentification à deux facteurs n’est pas activée.",
+ "two-factor-error-no-pending-setup": "Aucune configuration d’authentification à deux facteurs en attente n’a été trouvée.",
+ "two-factor-locked-message": "Trop de tentatives infructueuses. Réessayez à {time}.",
+ "two-factor-active-description": "Votre compte est protégé par l’authentification à deux facteurs. Chaque connexion nécessite un code provenant de votre application d’authentification."
}
}
diff --cc src/app/(main)/admin/AdminNav.tsx
index 511f9c8b1,f8d8dc51b..4f55a3a0f
--- a/src/app/(main)/admin/AdminNav.tsx
+++ b/src/app/(main)/admin/AdminNav.tsx
@@@ -1,9 -1,9 +1,11 @@@
+ import { Column, Focusable, Row, Tooltip, TooltipTrigger } from '@umami/react-zen';
import { IconLabel } from '@/components/common/IconLabel';
+ import Link from '@/components/common/Link';
import { NavMenu } from '@/components/common/NavMenu';
import { useMessages, useNavigation } from '@/components/hooks';
-import { ArrowLeft, Globe, User, Users } from '@/components/icons';
+import { ArrowLeft, Globe, ShieldCheck, User, Users } from '@/components/icons';
+import { Column, Focusable, Row, Tooltip, TooltipTrigger } from '@umami/react-zen';
+import Link from '@/components/common/Link';
export function AdminNav({ onItemClick }: { onItemClick?: () => void }) {
const { t, labels } = useMessages();
diff --cc src/app/(main)/settings/SettingsNav.tsx
index 8102ad7a6,0f8139245..6f728307f
--- a/src/app/(main)/settings/SettingsNav.tsx
+++ b/src/app/(main)/settings/SettingsNav.tsx
@@@ -1,8 -1,8 +1,8 @@@
import { Column, Focusable, Row, Text, Tooltip, TooltipTrigger } from '@umami/react-zen';
- import Link from '@/components/common/Link';
import { IconLabel } from '@/components/common/IconLabel';
+ import Link from '@/components/common/Link';
import { useMessages, useNavigation } from '@/components/hooks';
-import { ArrowLeft, Settings2, UserCircle, Users } from '@/components/icons';
+import { ArrowLeft, Settings2, ShieldCheck, UserCircle, Users } from '@/components/icons';
export function SettingsNav({
isCollapsed,
diff --cc src/app/api/auth/login/route.ts
index c5d082e53,9b2ad9482..ca4ada55c
--- a/src/app/api/auth/login/route.ts
+++ b/src/app/api/auth/login/route.ts
@@@ -1,10 -1,9 +1,10 @@@
import { z } from 'zod';
import { saveAuth } from '@/lib/auth';
import { ROLES } from '@/lib/constants';
- import { secret } from '@/lib/crypto';
+ import { hash, secret } from '@/lib/crypto';
import { createSecureToken } from '@/lib/jwt';
import { checkPassword } from '@/lib/password';
+import prisma from '@/lib/prisma';
import redis from '@/lib/redis';
import { parseRequest } from '@/lib/request';
import { json, unauthorized } from '@/lib/response';
@@@ -32,14 -31,8 +32,16 @@@ export async function POST(request: Req
const { id, role, createdAt } = user;
+ // Check if 2FA is enabled for this user
+ const twoFactor = await prisma.client.twoFactorAuth.findUnique({ where: { userId: id } });
+ if (twoFactor?.isEnabled) {
+ const partialToken = createSecureToken({ userId: id, type: 'partial-auth' }, secret(), {
+ expiresIn: '5m',
+ });
+ return json({ requiresTwoFactor: true, partialToken });
+ }
+ // Bind token to password hash so a password change invalidates old tokens.
+ const pwd = hash(user.password);
let token: string;
diff --cc src/app/login/LoginPage.tsx
index d0aa5ff69,5613f6bf7..abad2d46f
--- a/src/app/login/LoginPage.tsx
+++ b/src/app/login/LoginPage.tsx
@@@ -1,9 -1,24 +1,25 @@@
'use client';
- import { Column } from '@umami/react-zen';
+ import { Column, Loading } from '@umami/react-zen';
+ import { useRouter } from 'next/navigation';
+ import { useEffect } from 'react';
+ import { useLoginQuery } from '@/components/hooks';
import { LoginForm } from './LoginForm';
+import { PropsWithChildren } from 'react';
-export function LoginPage() {
+export function LoginPageWrapper({ children }: PropsWithChildren) {
+ const { user, isLoading } = useLoginQuery();
+ const router = useRouter();
+
+ useEffect(() => {
+ if (user) {
+ router.replace('/');
+ }
+ }, [user, router]);
+
+ if (isLoading || user) {
+ return <Loading placement="absolute" />;
+ }
+
return (
<Column
alignItems="center"
diff --cc src/components/messages.ts
index 4d6b332d6,63dca3bb2..2016506db
--- a/src/components/messages.ts
+++ b/src/components/messages.ts
@@@ -462,32 -445,5 +475,33 @@@ export const messages: Record<string, s
notFound: 'message.not-found',
serverError: 'message.sever-error',
upgradeRequired: 'message.upgrade-required',
+ twoFactorSetupDescription: 'message.two-factor-setup-description',
+ twoFactorSetupRequiredDescription: 'message.two-factor-setup-required-description',
+ twoFactorStep1Description: 'message.two-factor-step1-description',
+ twoFactorStep2Description: 'message.two-factor-step2-description',
+ twoFactorEnabledDescription: 'message.two-factor-enabled-description',
+ twoFactorBackupDescription: 'message.two-factor-backup-description',
+ twoFactorBackupCodesOnce: 'message.two-factor-backup-codes-once',
+ twoFactorLoginDescription: 'message.two-factor-login-description',
+ twoFactorDisableDescription: 'message.two-factor-disable-description',
+ twoFactorRequiredMessage: 'message.two-factor-required-message',
+ twoFactorOverrideNote: 'message.two-factor-override-note',
+ twoFactorAdminGlobalDescription: 'message.two-factor-admin-global-description',
+ twoFactorRequireUserDescription: 'message.two-factor-require-user-description',
+ twoFactorRequireTeamDescription: 'message.two-factor-require-team-description',
+ twoFactorUserDescription: 'message.two-factor-user-description',
+ twoFactorLockedMessage: 'message.two-factor-locked-message',
+ twoFactorActiveDescription: 'message.two-factor-active-description',
+ twoFactorErrorInvalidCode: 'message.two-factor-error-invalid-code',
+ twoFactorErrorMissingToken: 'message.two-factor-error-missing-token',
+ twoFactorErrorInvalidPartialToken: 'message.two-factor-error-invalid-partial-token',
+ twoFactorErrorInvalidBackupCode: 'message.two-factor-error-invalid-backup-code',
+ twoFactorErrorCodeUsed: 'message.two-factor-error-code-used',
+ twoFactorErrorTooManyAttempts: 'message.two-factor-error-too-many-attempts',
+ twoFactorErrorDisableNotAllowed: 'message.two-factor-error-disable-not-allowed',
+ twoFactorErrorIncorrectPassword: 'message.two-factor-error-incorrect-password',
+ twoFactorErrorAlreadyEnabled: 'message.two-factor-error-already-enabled',
+ twoFactorErrorNotEnabled: 'message.two-factor-error-not-enabled',
+ twoFactorErrorNoPendingSetup: 'message.two-factor-error-no-pending-setup',
+ replayMinDurationDescription: 'message.replay-min-duration-description',
};