diff --git a/.eslintignore b/.eslintignore index 3fcdfade..f55ecf84 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1 +1,3 @@ -/share/container/health_check.js \ No newline at end of file +/share/container/health_check.js +../torrust-index-api-lib +../torrust-index-types-lib diff --git a/components/navigation/NavigationBar.vue b/components/navigation/NavigationBar.vue index 03898bd2..bd94cff2 100644 --- a/components/navigation/NavigationBar.vue +++ b/components/navigation/NavigationBar.vue @@ -34,6 +34,9 @@
  • Admin Settings
  • +
  • + Change password +
  • Help
  • Logout {{ user.username }}
  • diff --git a/components/user/ChangePasswordForm.vue b/components/user/ChangePasswordForm.vue new file mode 100644 index 00000000..0e458a65 --- /dev/null +++ b/components/user/ChangePasswordForm.vue @@ -0,0 +1,116 @@ + + + + + diff --git a/package-lock.json b/package-lock.json index cc22f0ba..45f95383 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "dompurify": "^3.1.4", "marked": "^12.0.2", "notiwind-ts": "^2.0.2", - "torrust-index-api-lib": "^1.0.0-alpha.6", + "torrust-index-api-lib": "^1.0.0-alpha.7", "torrust-index-types-lib": "^1.0.0-alpha.5", "uuid": "^9.0.1" }, @@ -20297,10 +20297,9 @@ } }, "node_modules/torrust-index-api-lib": { - "version": "1.0.0-alpha.6", - "resolved": "https://registry.npmjs.org/torrust-index-api-lib/-/torrust-index-api-lib-1.0.0-alpha.6.tgz", - "integrity": "sha512-i88vndzGA1GMsghjnypTq7ysQowy3ZXXdv+kgnGVl1HrnVkscLjHVKqgJk5Dqi9PxC5NHz5ROgM7N5P7A5ZPLg==", - "license": "SEE LICENSE IN COPYRIGHT", + "version": "1.0.0-alpha.7", + "resolved": "https://registry.npmjs.org/torrust-index-api-lib/-/torrust-index-api-lib-1.0.0-alpha.7.tgz", + "integrity": "sha512-l2nFWpRD5C9/sUF2OXbyGL8SPKpsfV6PBLdLOaCEGGRY7ywqBJWKx0m+Ve885kEsI+XtXEPDyY4zKi9497Idcw==", "dependencies": { "torrust-index-types-lib": "^1.0.0-alpha.5" } diff --git a/package.json b/package.json index cfca62c6..a607520c 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "dompurify": "^3.1.4", "marked": "^12.0.2", "notiwind-ts": "^2.0.2", - "torrust-index-api-lib": "^1.0.0-alpha.6", + "torrust-index-api-lib": "^1.0.0-alpha.7", "torrust-index-types-lib": "^1.0.0-alpha.5", "uuid": "^9.0.1" } diff --git a/pages/user/[username].vue b/pages/user/[username].vue new file mode 100644 index 00000000..2561c45d --- /dev/null +++ b/pages/user/[username].vue @@ -0,0 +1,15 @@ + + + + +