> For the complete documentation index, see [llms.txt](https://lorvent.gitbook.io/josh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lorvent.gitbook.io/josh/30/3251.md).

# 3.2.5.1

this is a bug fix version for 3.2.5

* middlewares added
* any\_user,admin\_only removed
* routes adjusted

## Files Changed

**New**

* app/Http/Middleware/SentinelAdmin.php
* app/Http/Middleware/SentinelUser.php

**Modified**

* app/Http/routes.php
* resources/views/admin/layouts/default.blade.php
* app/Http/Controllers/UsersController.php

**Deleted**

* resources/views/admin/groups/admin\_only.blade.php
* resources/views/admin/groups/any\_user.blade.php

## Installation

you need to register your middlewares, to do so

open `app/Http/Kernel.php` and in `$routeMiddleware` array

add the following

```
'SentinelUser' => \App\Http\Middleware\SentinelUser::class,
'SentinelAdmin' => \App\Http\Middleware\SentinelAdmin::class,
```
