mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-03 08:22:24 +02: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 (
|
if (
|
||||||
!(defined('IN_ADMIN') and IN_ADMIN) // no message inside administration
|
!(defined('IN_ADMIN') and IN_ADMIN) // no message inside administration
|
||||||
and script_basename() != 'identification' // keep the ability to login
|
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() != 'ws' // keep the ability to discuss with web API
|
||||||
and script_basename() != 'popuphelp' // keep the ability to display help popups
|
and script_basename() != 'popuphelp' // keep the ability to display help popups
|
||||||
and !isset($_SESSION['no_photo_yet']) // temporary hide
|
and !isset($_SESSION['no_photo_yet']) // temporary hide
|
||||||
|
|||||||
Reference in New Issue
Block a user