(cp 1ce3877) fixes #1241 do not use no_photo_yet for normal users

This commit is contained in:
plegall
2021-05-13 13:54:04 +02:00
parent 1cb52de35d
commit 83d22c0849
+1
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
)
{