feature: update avatar

This commit is contained in:
antv
2026-07-09 09:05:57 +07:00
parent 439eec9015
commit 25bb3d961e
6 changed files with 129 additions and 10 deletions
+3
View File
@@ -55,4 +55,7 @@ Route::middleware('auth')->group(function () {
Route::get('/change-password', [UserController::class, 'changePasswordForm'])->name('user.change_password');
Route::post('/change-password', [UserController::class, 'updatePassword'])->name('user.update_password');
// Edit personal profile (avatar & password)
Route::get('/profile/edit', [UserController::class, 'editProfile'])->name('user.edit');
Route::post('/profile/edit', [UserController::class, 'updateProfile'])->name('user.update_profile');
});