detect new system to register default admin

This commit is contained in:
SowinskiBraeden committed 2022-05-21 14:52:47 -07:00
1 parent 20e9ae19f3
commit 17dd4e9561
6 files changed
+66 -5

No files matched your search

+3 -1
View File
@@ -7,8 +7,10 @@ import (
)
func Setup(app *fiber.App) {
// API Handling
// Detect if system is new and needs default admin
controllers.NewSystem()
// API Handling
var routerPrefix string = "/api/v1"
// Student Authentication Handler