Skip to content

Commit

Permalink
0004503: NodeService needs to be more persistent when looking for
Browse files Browse the repository at this point in the history
authenticated nodes
  • Loading branch information
philipmarzullo64 committed Aug 18, 2020
1 parent db205fb commit 9b96882
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -932,6 +932,9 @@ public NodeHost mapRow(Row rs) {
public AuthenticationStatus getAuthenticationStatus(String nodeId, String securityToken) {
AuthenticationStatus retVal = AuthenticationStatus.ACCEPTED;
Node node = findNode(nodeId, true);
if(node == null) {
node = findNode(nodeId, false);
}
if (node == null) {
retVal = AuthenticationStatus.REGISTRATION_REQUIRED;
} else if (!syncEnabled(node)) {
Expand Down

0 comments on commit 9b96882

Please sign in to comment.