getgrav / grav-plugin-simplesearch

Grav SimpleSearch Plugin
https://getgrav.org
MIT License
44 stars 55 forks source link

Error on collections when no user logged in #111

Closed lulis closed 7 years ago

lulis commented 7 years ago

As mentioned here, pull #102 breaks simplesearch plugin when no user logged in.

Got the following error on this line):

Identifier "user" is not defined.

I'm not using any kind of login in grav, only normal public pages.

Have to comment the call of checkForPermissions (here) as workaround.

flaviocopes commented 7 years ago

PR merged!