fixes #1119 keep the ability to reset password when there is no photo yet

This commit is contained in:
plegall
2020-03-24 15:18:09 +01:00
parent 1e23ed84d3
commit cf38caff67

View File

@@ -13,6 +13,7 @@
if (
!(defined('IN_ADMIN') and IN_ADMIN) // no message inside administration
and script_basename() != 'identification' // keep the ability to login
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 !isset($_SESSION['no_photo_yet']) // temporary hide