diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2016-09-01 22:28:12 +0100 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2016-09-01 22:28:12 +0100 |
commit | dba3de4451f29fc0b8cb6474b9bbb18ed61d9eac (patch) | |
tree | a7735c443b922735821f1e8af141f46dbb68f1ff /lib | |
parent | 9c58d4d6a324ed8422ef691471868d760b64f7bd (diff) |
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.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/const.go | 1 |
1 files changed, 0 insertions, 1 deletions
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"` } |