Skip to content
This repository was archived by the owner on Jan 29, 2024. It is now read-only.

Commit 653a446

Browse files
authored
Merge pull request #201 from mateusjunges/fixes/user-model-namespace
Fix user model namespace for laravel v8.x
2 parents d7a374d + 4784f58 commit 653a446

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
All notable changes to `mateusjunges/laravel-acl` will be documented in this file.
44

5+
# 2.5.1
6+
- Fix user model namespace for laravel v8.x
7+
58
# 2.5.0
69
- Add support for Laravel v8.x
710
- Drop suppport for PHP v7.2 and lower

config/acl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/*
1717
| The model you want to use as User Model must use MateusJunges\ACL\Traits\UsersTrait
1818
*/
19-
'user' => \App\User::class,
19+
'user' => \App\Models\User::class,
2020

2121
/*
2222
| The model you want to use as Permission model must use the MateusJunges\ACL\Traits\PermissionsTrait

0 commit comments

Comments
 (0)