Skip to content

Commit 9804366

Browse files
committed
remove mac addr check
1 parent 0244852 commit 9804366

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/node.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ func Authorize(
178178
// check if host instead of user
179179
if hostAllowed {
180180
// TODO --- should ensure that node is only operating on itself
181-
if hostID, macAddr, _, err := logic.VerifyHostToken(authToken); err == nil && macAddr != "" {
181+
if hostID, _, _, err := logic.VerifyHostToken(authToken); err == nil {
182182
r.Header.Set(hostIDHeader, hostID)
183183
// this indicates request is from a node
184184
// used for failover - if a getNode comes from node, this will trigger a metrics wipe

0 commit comments

Comments
 (0)