Remove user authentication and switch to simple admin password check (It wont have more than one admin user so no need for registeration (I LOVE .Net/C# btw))

This commit is contained in:
2025-05-15 20:25:28 +03:30
parent d646515776
commit 49b38470cf
7 changed files with 14 additions and 79 deletions
-1
View File
@@ -19,7 +19,6 @@ func SetupRouter(appContext *internal.AppContext) *gin.Engine {
admin := r.Group("/admin")
admin.GET("/", adminDashboardHandler.AdminHomePage)
admin.POST("/register", adminDashboardHandler.Register)
admin.POST("/login", adminDashboardHandler.Login)
admin.POST("/approve", adminDashboardHandler.ApproveMedia)
admin.POST("/reject", adminDashboardHandler.RejectMedia)