Add SameSite attribute to cookie function?

I get a warning that my cookie has no proper SameSite attribute value:

However, it’s not defined as an option in https://github.com/discourse/discourse/blob/39aa70d7cbb356edc4d583348313e3ed264965d0/app/assets/javascripts/discourse/app/lib/cookie.js. Should it be added?