ember-simple-auth icon indicating copy to clipboard operation
ember-simple-auth copied to clipboard

Add a "fixed" cookie expiration date

Open sly7-7 opened this issue 5 years ago • 0 comments

Currently, if I understand well, the cookie expiration date is renewed every minutes if the page is visible. For my app, I would like the expiration date to be written only once when the user is authenticated. I don't find any public way to do that for now. What do you think about that ?

As a workaround, at the moment, I've overriden the private _isPageVisiblemethod in the cookie store to always return false.

sly7-7 avatar Sep 17 '20 13:09 sly7-7