mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 08:35:00 +00:00
Fix for setting initial user as Owner
This commit is contained in:
@@ -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()));
|
||||
|
Reference in New Issue
Block a user