mirror of
https://github.com/h44z/wg-portal.git
synced 2025-12-14 10:36:18 +00:00
WIP: new user management and authentication system, use go 1.16 embed
This commit is contained in:
11
internal/authentication/user.go
Normal file
11
internal/authentication/user.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package authentication
|
||||
|
||||
type User struct {
|
||||
Email string
|
||||
IsAdmin bool
|
||||
|
||||
// optional fields
|
||||
Firstname string
|
||||
Lastname string
|
||||
Phone string
|
||||
}
|
||||
Reference in New Issue
Block a user