hoodiehq / hoodie-account-client

:dog: Account client API for the browser
https://hoodiehq.github.io/hoodie-account-client
Apache License 2.0
11 stars 24 forks source link

store createdAt in localStorage.account #92

Open gr2m opened 8 years ago

gr2m commented 8 years ago

followup for https://github.com/hoodiehq/hoodie/issues/282

pass created at to the sign up request, so the server can store createdAt and a separate signedUpAt timestamp. Related server issue: https://github.com/hoodiehq/hoodie-account-server/issues/154

thomasjinlo commented 8 years ago

me!

gr2m commented 8 years ago

@thomasjinlo I’ve seen the other day that we don’t actually store createdAt in localstorage yet. You can see it when you open https://tracker.hood.ie/ and then check the value of localStorage.account, it’s something like "{"id":"iqfmlp8"}", but besides the "id" there should also be the "createdAt" timestamp. I thought we had that already but maybe it got lost somewhere? Do you want to look into that first?

gr2m commented 8 years ago

@thomasjinlo are you still looking into this one?