Skip to content

Persists logged in user document - i.e Meteor.user() - so this is available when starting up offline.

License

Notifications You must be signed in to change notification settings

meteorich/accounts-offline-auto-login

Repository files navigation

accounts-offline-auto-login

Stores the logged in user document in localStorage to allow Meteor.user() to work when starting up with no connection.

  • This package does not allow offline login - it only simulates autologin when starting up with no connection
  • Client-side user doc is held in localStorage (in a similar way to auto-login token and userId).
  • If user logs out, stored user document will be cleared

meteor add meteorich:accounts-offline-auto-login

About

Persists logged in user document - i.e Meteor.user() - so this is available when starting up offline.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published