From dba3de4451f29fc0b8cb6474b9bbb18ed61d9eac Mon Sep 17 00:00:00 2001 From: Niall Sheridan Date: Thu, 1 Sep 2016 22:28:12 +0100 Subject: Remove the Principal field from the request The server will always overwrite this field with the username obtained from the auth provider. Allowing the client to set it is a waste of time. --- lib/const.go | 1 - 1 file changed, 1 deletion(-) (limited to 'lib') diff --git a/lib/const.go b/lib/const.go index fd771a0..1ba2749 100644 --- a/lib/const.go +++ b/lib/const.go @@ -5,7 +5,6 @@ import "time" // SignRequest represents a signing request sent to the server. type SignRequest struct { Key string `json:"key"` - Principal string `json:"principal"` ValidUntil time.Time `json:"valid_until"` } -- cgit v1.2.3