YunoHost-Apps / piwigo_ynh

Piwigo package for YunoHost
http://piwigo.org/
GNU General Public License v2.0
6 stars 4 forks source link

Allows to logout #2

Closed LeOSW42 closed 7 years ago

LeOSW42 commented 7 years ago

Hi all,

In the current implementation of LDAP plugin, it is not possible to logout if you have no access to the administration panel.

Léo

JimboJoe commented 7 years ago

This behavior is built in Piwigo (see https://github.com/Piwigo/Piwigo/blob/master/include/menubar.inc.php#L324). If you log out of the YunoHost portal, you become guest in Piwigo, and if you log-in with another user account, the new user gets logged-in in Piwigo. The only remaining case I see is with an external (non-LDAP) user, who actually can't logout. The only workaround I see is to visit: ?act=logout Do you see any other case?