The Wayback Machine - https://web.archive.org/web/20200909193418/https://github.com/firebase/quickstart-nodejs/issues/91
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getCookie method #91

Open
Pratap-Desai opened this issue Aug 14, 2019 · 0 comments
Open

getCookie method #91

Pratap-Desai opened this issue Aug 14, 2019 · 0 comments

Comments

@Pratap-Desai
Copy link

@Pratap-Desai Pratap-Desai commented Aug 14, 2019

function getCookie(name) {
var v = document.cookie.match('(^|;) ?'+ name + '=([^;]*)(;|$)');
return v ? v[2] : null;
}

always returns null when called for getCookie('csrfToken').

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.