mirror of
https://github.com/gravitational/teleport
synced 2024-10-22 18:23:25 +00:00
fix test
This commit is contained in:
parent
f10cdbeb90
commit
bbd40bbe75
|
@ -50,7 +50,7 @@ type User interface {
|
|||
// Equals checks if user equals to another
|
||||
Equals(other User) bool
|
||||
// WebSessionInfo returns web session information
|
||||
WebSessionInfo() interface{}
|
||||
WebSessionInfo() User
|
||||
}
|
||||
|
||||
// TeleportUser is an optional user entry in the database
|
||||
|
|
|
@ -412,7 +412,7 @@ type CreateSessionResponse struct {
|
|||
// Token value
|
||||
Token string `json:"token"`
|
||||
// User represents the user
|
||||
User interface{} `json:"user"`
|
||||
User services.User `json:"user"`
|
||||
// ExpiresIn sets seconds before this token is not valid
|
||||
ExpiresIn int `json:"expires_in"`
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue