Skip to main content
10 events
when toggle format what by license comment
Jan 31, 2017 at 11:15 vote accept Mike Eason
Jan 31, 2017 at 10:17 answer added Craig Ayre timeline score: 4
Jan 31, 2017 at 9:37 comment added Mike Eason @ChatterOne Ok yes, I've just re-tagged it.
Jan 31, 2017 at 9:36 history edited Mike Eason
edited tags
Jan 31, 2017 at 9:33 comment added ChatterOne Ok, you should probably add a tag to your question then, is it node.js ?
Jan 31, 2017 at 9:17 history edited Jamal CC BY-SA 3.0
deleted 18 characters in body
Jan 31, 2017 at 9:14 comment added Mike Eason @ChatterOne This code is on the server. The client makes a request to a login API endpoint and is returned either a token or an authentication error.
Jan 31, 2017 at 9:13 comment added ChatterOne Why is the client doing all those checks? The client should just try to log in with a single call and get a "forbidden" or "granted" kind of response, the server should take care of all the rest.
Jan 31, 2017 at 9:09 history edited Mike Eason CC BY-SA 3.0
A better title.
Jan 31, 2017 at 9:03 history asked Mike Eason CC BY-SA 3.0