pouch-vue icon indicating copy to clipboard operation
pouch-vue copied to clipboard

getSession doesn’t work when logged in as admin

Open PhotonQuantum opened this issue 5 years ago • 0 comments

Instead of telling me that I am the server admin, getSession returns “missing user”, which is somehow confusing.

Maybe just return something like admin=true instead of querying user:admin(which may fail) when _session says that user=admin?

PhotonQuantum avatar Nov 28 '19 16:11 PhotonQuantum