Massive refactor!
This commit is contained in:
4
main.go
4
main.go
@@ -34,6 +34,10 @@ func main() {
|
||||
logging.Error("❌ Failed to init session: %v", err)
|
||||
}
|
||||
|
||||
// if err := bootstrap.InitLicenseChecker(appState.Config); err != nil {
|
||||
// logging.Error("❌ Invalid license: %v", err)
|
||||
// }
|
||||
|
||||
err = bootstrap.InitCSRFProtection([]byte(appState.Config.CSRF.CSRFKey), appState.Config.HttpServer.ProductionMode)
|
||||
if err != nil {
|
||||
logging.Error("Failed to init CSRF: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user