mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #1119 keep the ability to reset password when there is no photo yet
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user