WIP: RESTful API for WireGuard Portal, user endpoint (#11)

This commit is contained in:
Christoph Haas
2021-04-26 14:40:49 +02:00
parent b6d9814021
commit 35513ae994
7 changed files with 835 additions and 1 deletions

View File

@@ -151,6 +151,7 @@ func (s *Server) Setup(ctx context.Context) error {
// Setup all routes
SetupRoutes(s)
SetupApiRoutes(s)
// Setup user database (also needed for database authentication)
s.users, err = users.NewManager(s.db)