Add ability to disable user authentication

This commit is contained in:
Khanh Ngo 2020-10-09 23:31:45 +02:00
parent c20fa32086
commit adee2ecb97
No known key found for this signature in database
GPG key ID: 29077342AA5648F6
7 changed files with 84 additions and 41 deletions

View file

@ -9,7 +9,7 @@ type Client struct {
ID string `json:"id"`
PrivateKey string `json:"private_key"`
PublicKey string `json:"public_key"`
PresharedKey string `json:"preshared_key"`
PresharedKey string `json:"preshared_key"`
Name string `json:"name"`
Email string `json:"email"`
AllocatedIPs []string `json:"allocated_ips"`

View file

@ -8,5 +8,6 @@ type Interface struct {
// BaseData struct to pass value to the base template
type BaseData struct {
Active string
Active string
CurrentUser string
}