Handle expiration time as number
Alternative approaches of handling the expiration time.
I'd suggest to use numbers only, instead of a mixture of Date objects, Date strings and numbers. This makes it possible to simplify the code a little.
These two snippets from AuthForm.js and aut...
omarsaade.hashnode.dev1 min read