Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
da48b714
Commit
da48b714
authored
Jul 31, 2015
by
Zach
Browse files
Merge pull request #1310 from ctrlaltca/emails
Servatrice: do not disclose user emails to clients
parents
183fbd28
8d325b9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
common/serverinfo_user_container.cpp
View file @
da48b714
...
@@ -38,7 +38,10 @@ ServerInfo_User &ServerInfo_User_Container::copyUserInfo(ServerInfo_User &result
...
@@ -38,7 +38,10 @@ ServerInfo_User &ServerInfo_User_Container::copyUserInfo(ServerInfo_User &result
result
.
clear_address
();
result
.
clear_address
();
}
}
if
(
!
internalInfo
)
if
(
!
internalInfo
)
{
result
.
clear_id
();
result
.
clear_id
();
result
.
clear_email
();
}
if
(
!
complete
)
if
(
!
complete
)
result
.
clear_avatar_bmp
();
result
.
clear_avatar_bmp
();
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment