Split CompanyController and introduce standalone User Settings page

Backend:
- Extract user profile methods (show, update, uploadAvatar) from
  CompanyController into new UserProfileController
- CompanyController now only handles company concerns (updateCompany,
  uploadCompanyLogo)
- Remove Account Settings from setting_menu config

Frontend:
- New /admin/user-settings page with 3 tabs: General, Profile Photo,
  Security (password change)
- User dropdown now links to /admin/user-settings instead of
  /admin/settings/account-settings
- Settings sidebar defaults to Company Information as first item
- Remove old monolithic AccountSetting.vue
This commit is contained in:
Darko Gjorgjijoski
2026-04-03 17:35:41 +02:00
parent 6b5e4878fb
commit 1ca915a0a3
14 changed files with 426 additions and 337 deletions

View File

@@ -1133,12 +1133,14 @@
}
},
"account_settings": {
"profile_picture": "Profile Picture",
"profile_picture": "Profile Photo",
"name": "Name",
"email": "Email",
"password": "Password",
"confirm_password": "Confirm Password",
"account_settings": "Account Settings",
"account_settings": "User Settings",
"general": "General",
"security": "Security",
"save": "Save",
"section_description": "You can update your name, email & password using the form below.",
"updated_message": "Account Settings updated successfully"