fixes #1241 do not use no_photo_yet for normal users

This commit is contained in:
plegall 2021-05-12 15:41:53 +02:00
parent b6a6227210
commit 1ce38771f5

View file

@ -16,6 +16,7 @@ if (
and script_basename() != 'password' // keep the ability to reset password
and script_basename() != 'ws' // keep the ability to discuss with web API
and script_basename() != 'popuphelp' // keep the ability to display help popups
and (is_a_guest() or is_admin()) // normal users are not concerned by no_photo_yet
and !isset($_SESSION['no_photo_yet']) // temporary hide
)
{