This commit is contained in:
James Cole
2018-08-28 21:48:10 +02:00
parent 4a8e3ee845
commit 5b771f7def
6 changed files with 161 additions and 16 deletions

View File

@@ -61,6 +61,7 @@ class UserEventHandler
// first user ever?
if (1 === $repository->count()) {
Log::debug('User count is one, attach role.');
$repository->attachRole($event->user, 'owner');
}