Add QR code-based login functionality and enhancements:
- Implemented QR code scanning and detection using `vue-qrcode-reader` in `LoginQR.vue`. - Added token extraction and application logic for seamless login flow. - Enhanced error handling for scanning issues and invalid QR codes. - Updated `LoginForm.vue` to include a QR code login button. - Added session handling updates with SweetAlert integration and improved error notifications. - Bumped dependencies with `@vueuse/integrations` and `vue-qrcode-reader` support.
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
"@vue-flow/core": "^1.43.1",
|
||||
"@vueuse/core": "^12.7.0",
|
||||
"@vueuse/head": "^2.0.0",
|
||||
"@vueuse/integrations": "^13.7.0",
|
||||
"animate.css": "^4.1.1",
|
||||
"axios": "^1.7.8",
|
||||
"bulma": "^1.0.2",
|
||||
@@ -37,6 +38,7 @@
|
||||
"chart.js": "^4.4.7",
|
||||
"dayspan-vuetify": "^0.4.0",
|
||||
"flow": "^0.2.3",
|
||||
"qrcode": "^1.5.4",
|
||||
"sass": "^1.81.1",
|
||||
"sweetalert2": "^11.14.5",
|
||||
"tesseract.js": "^6.0.1",
|
||||
@@ -46,6 +48,7 @@
|
||||
"vue-cal": "^5.0.1-rc.20",
|
||||
"vue-chartjs": "^5.3.2",
|
||||
"vue-popperjs": "^2.3.0",
|
||||
"vue-qrcode-reader": "^5.7.3",
|
||||
"vue-router": "^4.5.0",
|
||||
"vue-toast-notification": "^3.1.3",
|
||||
"vue3-cookies": "^1.0.6",
|
||||
|
||||
Reference in New Issue
Block a user