-
- Downloads
feat: add user deletion functionality in admin settings
- Added a new route for deleting users with a GET and DELETE method in `routes/web.php`. - Updated `app.php` configuration to include `protected_account_email`. - Enhanced the user management view to display a table of users with delete actions in `resources/views/admin/settings/users.blade.php`. - Implemented the `deleteUser` method in `SettingsController` to handle user deletion. - Updated `.env.example` and `.env.testing` files to include `PROTECTED_ACCOUNT_EMAIL` configuration.
parent
55f42c83
No related branches found
No related tags found
Showing
- .env.example 2 additions, 0 deletions.env.example
- .env.testing 1 addition, 0 deletions.env.testing
- app/Http/Controllers/Admin/SettingsController.php 12 additions, 0 deletionsapp/Http/Controllers/Admin/SettingsController.php
- config/app.php 2 additions, 0 deletionsconfig/app.php
- resources/views/admin/categories/index.blade.php 0 additions, 1 deletionresources/views/admin/categories/index.blade.php
- resources/views/admin/settings/users.blade.php 37 additions, 0 deletionsresources/views/admin/settings/users.blade.php
- routes/web.php 1 addition, 0 deletionsroutes/web.php
Please sign in to comment