Skip to content

Commit

Permalink
[bug] Consider empty string as an anonymous name
Browse files Browse the repository at this point in the history
  • Loading branch information
konovalovsergey committed Feb 9, 2021
1 parent e7c5bce commit 74b77d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DocService/sources/DocsCoServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1888,7 +1888,7 @@ exports.install = function(server, callbackFunction) {
dataUser.username = user.name;
}
}
if (!(edit.user && null != user.name)) {
if (!(edit.user && edit.user.name)) {
data.canChangeName = true;
}
}
Expand Down

0 comments on commit 74b77d1

Please sign in to comment.