projectcs13 / sensor-cloud-website

A stream search engine for the Internet of Things (front-end)
4 stars 12 forks source link

Sp8.sc1.save users with no password #295

Closed albertoblaz closed 10 years ago

albertoblaz commented 10 years ago

As far as I know, the backend has an issue deleting the user's password. That means, when the frontend is launched, it can't get the collection of users in ES and keep them also locally, because the insertion fails.

This pull request is a hotfix in order to prevent users click on streams which belong to an non-existing user, making the whole app crashes.

If the backend issue is fixed, then we should remove this because it's basically a hack