synercoder / FormsAuthentication

Enable ASP.NET Core 2 cookies to read old ASP.NET Forms Authentication cookies
MIT License
74 stars 25 forks source link

Add version in FormsAuthenticationCookie #13

Closed lemoinem closed 5 years ago

lemoinem commented 5 years ago

Fixes #12

I left the default to 0. I don't think the actual value really matters. In any case, it will remain compatible with Cookies/ticket generated by ASP.Net 4.5 and for people actually using it, they will specify a value when creating the FormsAuthenticationCookie.