remove redundant call to userPerms.setVerifiedUserName

This commit is contained in:
Seth Alves 2016-07-27 10:06:02 -07:00
parent a2d35df34e
commit d69d5bff28

View file

@ -322,7 +322,6 @@ SharedNodePointer DomainGatekeeper::processAgentConnectRequest(const NodeConnect
QString verifiedUsername;
if (!username.isEmpty() && verifyUserSignature(username, usernameSignature, nodeConnection.senderSockAddr)) {
// they sent us a username and the signature verifies it
userPerms.setVerifiedUserName(username);
verifiedUsername = username;
getGroupMemberships(username);
} else if (!username.isEmpty()) {