mirror of
https://github.com/passbolt/go-passbolt.git
synced 2025-05-10 01:48:22 +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"
|
"encoding/json"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
const UserLocaleENUK = "en-UK"
|
||||||
|
|
||||||
// User contains information about a passbolt User
|
// User contains information about a passbolt User
|
||||||
type User struct {
|
type User struct {
|
||||||
ID string `json:"id,omitempty"`
|
ID string `json:"id,omitempty"`
|
||||||
|
@ -20,6 +22,7 @@ type User struct {
|
||||||
Role *Role `json:"role,omitempty"`
|
Role *Role `json:"role,omitempty"`
|
||||||
GPGKey *GPGKey `json:"gpgKey,omitempty"`
|
GPGKey *GPGKey `json:"gpgKey,omitempty"`
|
||||||
LastLoggedIn string `json:"last_logged_in,omitempty"`
|
LastLoggedIn string `json:"last_logged_in,omitempty"`
|
||||||
|
Locale string `json:"locale,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Profile is a Profile
|
// Profile is a Profile
|
||||||
|
|
Loading…
Add table
Reference in a new issue