Remove misplaced header setting
This commit is contained in:
parent
d1308e6f9e
commit
7a1a654b73
1 changed files with 1 additions and 3 deletions
|
@ -43,9 +43,7 @@ func (ta *TailscaleAuth) Authenticate(wr http.ResponseWriter, req *http.Request)
|
|||
"login_name": whois.UserProfile.LoginName,
|
||||
},
|
||||
}
|
||||
|
||||
wr.Header().Add("x-tailscale-login-name", whois.UserProfile.LoginName)
|
||||
|
||||
|
||||
return user, true, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue