mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-27 09:21:04 -06:00
Merge pull request #1591 from claystation/master
BUGFIX: Initial user not set as owner
This commit is contained in:
commit
c73b003de4
@ -58,7 +58,7 @@ class UserRepository implements UserRepositoryInterface
|
||||
}
|
||||
|
||||
try {
|
||||
$user->roles()->attach($role);
|
||||
$user->roles()->attach($roleObject);
|
||||
} catch (QueryException $e) {
|
||||
// don't care
|
||||
Log::info(sprintf('Query exception when giving user a role: %s', $e->getMessage()));
|
||||
|
Loading…
Reference in New Issue
Block a user