mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
run phpcs
This commit is contained in:
@@ -34,13 +34,13 @@ class UserPolicy
|
||||
public function view(User $user, User $user1): bool
|
||||
{
|
||||
return true;
|
||||
// return auth()->check() && $user->id === $account->user_id;
|
||||
// return auth()->check() && $user->id === $account->user_id;
|
||||
}
|
||||
|
||||
public function viewAccounts(User $user): bool
|
||||
{
|
||||
return true;
|
||||
// return auth()->check();
|
||||
// return auth()->check();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -51,6 +51,6 @@ class UserPolicy
|
||||
public function viewAny(): bool
|
||||
{
|
||||
return true;
|
||||
// return auth()->check();
|
||||
// return auth()->check();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user