add user button

added create user button for the admin to use.
This commit is contained in:
Harvey Tindall
2020-09-18 00:59:59 +01:00
parent 9213f2a078
commit d4b94bc9d9
6 changed files with 160 additions and 7 deletions
+1
View File
@@ -435,6 +435,7 @@ func start(asDaemon, firstCall bool) {
router.GET("/invite/:invCode", app.InviteProxy)
api := router.Group("/", app.webAuth())
router.POST("/logout", app.Logout)
api.POST("/newUserAdmin", app.NewUserAdmin)
api.POST("/generateInvite", app.GenerateInvite)
api.GET("/getInvites", app.GetInvites)
api.POST("/setNotify", app.SetNotify)