Piwigo: return collections list only to logged in users.
This commit is contained in:
parent
4150110607
commit
7da90d56d1
@ -87,6 +87,7 @@ def pwg_categories_getList(request):
|
||||
'uppercats': "-29711",
|
||||
'name': "All my images"}]
|
||||
|
||||
if request.user:
|
||||
for c in collections:
|
||||
catlist.append({'id': c.id,
|
||||
'uppercats': str(c.id),
|
||||
|
Loading…
x
Reference in New Issue
Block a user