If display name is empty, use anonymous in the drive

pull/1/head
yflory 8 years ago
parent f0f94ab180
commit a978b51656

@ -1958,6 +1958,9 @@ define([
logError("Couldn't set username", err);
return;
}
if (myUserName === "") {
myUserName = Messages.anonymous;
}
APP.$displayName.text(myUserName);
});
};

Loading…
Cancel
Save