Refactor: merge SettingsController into ProfileController

Removed SettingsController and moved its logic into ProfileController, consolidating user profile, account, GDPR, network, and two-factor authentication actions. Updated routes, behaviors, and view files to reflect the new structure. Also updated composer.json to use pcrt/yii2-usuario and pcrt/yii2-select2, added 'surname' to Profile model, and added new attributes to User model. Improved user feedback by redirecting after key actions instead of rendering message views.
This commit is contained in:
2025-10-15 09:16:32 +02:00
parent 2a95a8d4d2
commit eba9671e1b
49 changed files with 1555 additions and 1690 deletions

View File

@ -1,5 +1,5 @@
{
"name": "2amigos/yii2-usuario",
"name": "pcrt/yii2-usuario",
"description": "Highly customizable and extensible user management, authentication, and authorization Yii2 extension",
"type": "yii2-extension",
"license": "BSD-3-Clause",
@ -41,7 +41,7 @@
"prefer-stable": true,
"require": {
"php": ">=5.5",
"2amigos/yii2-selectize-widget": "^1.1",
"pcrt/yii2-select2": "^1.0.6",
"yiisoft/yii2-authclient": "^2.1",
"yiisoft/yii2-httpclient": "^2.0",
"yiisoft/yii2-bootstrap": "^2.0",