fixed error pages

This commit is contained in:
denisdulici
2019-12-26 10:53:50 +03:00
parent ef95a33648
commit 6f7d94e676
11 changed files with 374 additions and 341 deletions

View File

@ -19,7 +19,7 @@ class Notifications
public function compose(View $view)
{
// No need to add suggestions in console
if (app()->runningInConsole() || !env('APP_INSTALLED')) {
if (app()->runningInConsole() || !env('APP_INSTALLED') || !user()) {
return;
}