aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2016-09-01 22:28:12 +0100
committerNiall Sheridan <nsheridan@gmail.com>2016-09-01 22:28:12 +0100
commitdba3de4451f29fc0b8cb6474b9bbb18ed61d9eac (patch)
treea7735c443b922735821f1e8af141f46dbb68f1ff /lib
parent9c58d4d6a324ed8422ef691471868d760b64f7bd (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.go1
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"`
}