Remove misplaced header setting

This commit is contained in:
akp 2024-10-10 12:51:17 +01:00
parent d1308e6f9e
commit 7a1a654b73
No known key found for this signature in database
GPG key ID: CF8D58F3DEB20755

View file

@ -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
}