fix null user on public side

This commit is contained in:
Jean-Christian Paul Denis 2022-12-01 00:49:34 +01:00
parent 905cfaf253
commit c23727cce7
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -716,7 +716,7 @@ class zoneclearFeedServer
} else { } else {
dcCore::app()->auth = null; dcCore::app()->auth = null;
dcCore::app()->auth = new dcAuth(); dcCore::app()->auth = new dcAuth();
dcCore::app()->auth->checkUser($this->user); dcCore::app()->auth->checkUser($this->user ?? '');
} }
} }