diff --git a/backend/routes/api.php b/backend/routes/api.php index 3190b4d..76ebbc0 100644 --- a/backend/routes/api.php +++ b/backend/routes/api.php @@ -27,6 +27,7 @@ Route::middleware(['auth:sanctum'])->prefix('/students')->group(function () { Route::get('/{id}', [StudentDataController::class, 'get']); Route::post('/{id}', [StudentDataController::class, 'update_all']); Route::delete('/{id}', [StudentDataController::class, 'delete']); + Route::post('/students/change-password', [StudentDataController::class, 'change_password']); }); Route::post('/password-reset', [RegisteredUserController::class, 'reset_password']) diff --git a/frontend/app/pages/account.vue b/frontend/app/pages/account.vue new file mode 100644 index 0000000..8932e48 --- /dev/null +++ b/frontend/app/pages/account.vue @@ -0,0 +1,115 @@ + + + \ No newline at end of file diff --git a/frontend/app/pages/dashboard/student/index.vue b/frontend/app/pages/dashboard/student/index.vue index 6536057..b4f36f9 100644 --- a/frontend/app/pages/dashboard/student/index.vue +++ b/frontend/app/pages/dashboard/student/index.vue @@ -44,7 +44,7 @@ const { data, error } = await useSanctumFetch('/api/internships/my Firmy - + Môj profil