- this.user["email"] = "";
- // Update global object
- this.user["name"] = res.name;
- this.user["id"] = res.id;
- // Store our identifiers in local storage (by little anticipation...)
- localStorage["myid"] = res.id;
- localStorage["myname"] = res.name;
- }