Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
Commented out missing ws check (lib), #2248, #2390
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrekV committed Feb 9, 2018
1 parent f849429 commit b0a5a9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/user.cc
Original file line number Diff line number Diff line change
Expand Up @@ -614,11 +614,11 @@ error User::LoadUserAndRelatedDataFromJSONString(

// Handle missing workspace issue.
// If default wid is missing there are no workspaces

/*
if (!root["data"].isMember("workspaces") || root["data"]["workspaces"].size() == 0) {
return error("You no longer have access to your last workspace"); // NOLINT
}

*/
SetSince(root["since"].asUInt64());

Poco::Logger &logger = Poco::Logger::get("json");
Expand Down

0 comments on commit b0a5a9e

Please sign in to comment.