feat: Add demo account creation functionality
- Introduce a new DemoAccountCreator component for generating test accounts with auto-generated credentials. - Implement useDemoAccountGenerator composable to handle credential generation and state management. - Update routing to replace the existing login page with the new LoginDemo page for demo account access. - Add unique-names-generator package to facilitate username generation.
This commit is contained in:
parent
bc73871c82
commit
320e322db2
6 changed files with 365 additions and 2 deletions
10
package-lock.json
generated
10
package-lock.json
generated
|
|
@ -29,6 +29,7 @@
|
|||
"tailwind-merge": "^2.6.0",
|
||||
"tailwind-variants": "^0.3.1",
|
||||
"tailwindcss-animate": "^1.0.7",
|
||||
"unique-names-generator": "^4.7.1",
|
||||
"vue": "^3.5.13",
|
||||
"vue-i18n": "^9.14.2",
|
||||
"vue-router": "^4.5.0",
|
||||
|
|
@ -13819,6 +13820,15 @@
|
|||
"node": "^12.13.0 || ^14.15.0 || >=16.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/unique-names-generator": {
|
||||
"version": "4.7.1",
|
||||
"resolved": "https://registry.npmjs.org/unique-names-generator/-/unique-names-generator-4.7.1.tgz",
|
||||
"integrity": "sha512-lMx9dX+KRmG8sq6gulYYpKWZc9RlGsgBR6aoO8Qsm3qvkSJ+3rAymr+TnV8EDMrIrwuFJ4kruzMWM/OpYzPoow==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/unique-slug": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-3.0.0.tgz",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue