During development of a Bones-based app, one sometimes has stale cookies logged in as a user who no longer exists in the current database. This causes the server error Cannot read property 'id' of null.
If possible, it would be good to automatically clear the session on this error, so that the developer does not have to manually delete cookies.
During development of a Bones-based app, one sometimes has stale cookies logged in as a user who no longer exists in the current database. This causes the server error
Cannot read property 'id' of null
.If possible, it would be good to automatically clear the session on this error, so that the developer does not have to manually delete cookies.