switch to bootstrap 4

This commit is contained in:
Christoph Haas
2020-11-06 12:21:47 +01:00
parent 93f7335b6e
commit 461a339ada
20 changed files with 17664 additions and 7819 deletions

View File

@@ -24,6 +24,7 @@ func SetupRoutes(s *Server) {
// User routes
user := s.server.Group("/user")
user.Use(s.RequireAuthentication("")) // empty scope = all logged in users
user.GET("/qrcode", s.GetUserQRCode)
}
func (s *Server) RequireAuthentication(scope string) gin.HandlerFunc {