aboutsummaryrefslogtreecommitdiff
path: root/api/routes.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/routes.go')
-rw-r--r--api/routes.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/api/routes.go b/api/routes.go
index 404f821..3adbfe9 100644
--- a/api/routes.go
+++ b/api/routes.go
@@ -55,6 +55,11 @@ var Groups = []Group{
55 {"GET", []gin.HandlerFunc{UserAccount}, "/account"}, 55 {"GET", []gin.HandlerFunc{UserAccount}, "/account"},
56 }, 56 },
57 }, 57 },
58 {
59 "/admin",
60 []Middleware{JwtAuth, UserConfirmed, UserIsAdmin, OtpAuth},
61 []Route{},
62 },
58} 63}
59 64
60func Signup(c *gin.Context) { 65func Signup(c *gin.Context) {