You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reading the code, there seems Date(), Date.setDate and Date.getDate are not used correctly. They get / set the day of the month, and the code just slams in the number sent in for expires plus now(). Momentjs or similar a similar date package needs to be used for date math to properly formulate the date. setDate() fails if the value exceeds the calendar numerical day.
cookies are saved only for session not a particular time, when set any date or time in options object ,it creates invalid date
The text was updated successfully, but these errors were encountered: