pouch-vue
pouch-vue copied to clipboard
getSession doesn’t work when logged in as admin
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?