Hi there. I wonder if there is a way to allow users to set the loginExpirationInDays individually.
For example check the Evernote’s sign-in form. (‘Remember me for 30 days’ checkbox).
Hi there. I wonder if there is a way to allow users to set the loginExpirationInDays individually.
For example check the Evernote’s sign-in form. (‘Remember me for 30 days’ checkbox).
Doesn’t seem to work…
if (Meteor.isClient) {
Tracker.autorun(function () {
Accounts.config({
loginExpirationInDays: Session.get('loginExpirationInDays') || null
});
});
}