first working version

This commit is contained in:
ston1th 2022-07-10 15:51:31 +02:00
commit c9dfecc519
21 changed files with 296 additions and 178 deletions

View file

@ -31,6 +31,6 @@ type Config struct {
HydraAdminURL string `json:"hydra_admin_url"`
Issuer string `json:"issuer"`
Version string `json:"-"`
Admin bool `json:"admin,omitempty"`
AdminDisabled bool `json:"admin_disabled,omitempty"`
SecureCookie bool `json:"secure_cookie,omitempty"`
}

View file

@ -9,6 +9,7 @@ type User struct {
Created string
Secret string
Admin bool
Disabled bool
Locked int
}