Closed shakedown-street closed 7 years ago
The remember me checkbox should remember username. It behaves as expected upon logging in and back out, but not if the page closes.
Using cookies probably isn't the best way to store the username.
Set expiration date for the cookie.
var expireDate = new Date(); expireDate.setDate(expireDate.getDate() + 1); $cookies.put('myFavorite', 'oatmeal', {'expires': expireDate});
The remember me checkbox should remember username. It behaves as expected upon logging in and back out, but not if the page closes.
Using cookies probably isn't the best way to store the username.