mirror of
https://github.com/passbolt/go-passbolt.git
synced 2025-05-09 09:48:20 +00:00
Add missing field for registration
This commit is contained in:
parent
3f4ed25a83
commit
8c2be0f37f
1 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,8 @@ import (
|
|||
"encoding/json"
|
||||
)
|
||||
|
||||
const UserLocaleENUK = "en-UK"
|
||||
|
||||
// User contains information about a passbolt User
|
||||
type User struct {
|
||||
ID string `json:"id,omitempty"`
|
||||
|
@ -20,6 +22,7 @@ type User struct {
|
|||
Role *Role `json:"role,omitempty"`
|
||||
GPGKey *GPGKey `json:"gpgKey,omitempty"`
|
||||
LastLoggedIn string `json:"last_logged_in,omitempty"`
|
||||
Locale string `json:"locale,omitempty"`
|
||||
}
|
||||
|
||||
// Profile is a Profile
|
||||
|
|
Loading…
Add table
Reference in a new issue