fix: disable "secure" mode on auth cookie (#83)
In Firefox a warning is displayed that states:
Cookie “pb_auth” has been rejected because a non-HTTPS cookie can't
be set as “secure”.
This warning is emitted from authStore.onChange callback.
The server-side cookie response contains the attribute "secure: false"
which avoids this problem, but this was missing from the client side
hook.
Co-authored-by: Flomp <Flomp@users.noreply.github.com>
This commit is contained in: