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:
Dom
2024-06-16 10:28:56 +01:00
committed by GitHub
parent aecb21aab3
commit dbd99b2d4d

Diff Content Not Available