Skip to content

Require a login cookie before showing the auth dialog as signed in - #903

Open
YodHeVauHe wants to merge 1 commit into
Tyrrrz:primefrom
YodHeVauHe:cursor/fix-auth-empty-login-cookies-7876
Open

YodHeVauHe wants to merge 1 commit into
Tyrrrz:primefrom
YodHeVauHe:cursor/fix-auth-empty-login-cookies-7876

Conversation

@YodHeVauHe

Copy link
Copy Markdown

Fixes #840.

IsAuthenticated treated leftover YouTube cookies as a signed-in session because All() is true when the __SECURE filter is empty. It now requires at least one unexpired __SECURE cookie. Issue 839 is not part of this change.

IsAuthenticated treated leftover YouTube cookies as a session because
All() is true for an empty __SECURE filter. Require at least one
unexpired login cookie.

Co-authored-by: ZaSourceCode <YodHeVauHe@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Auth dialog can show authenticated state without login cookies

2 participants