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

View File

@@ -10,7 +10,7 @@ import (
type AppContext struct {
Db *gorm.DB
PostService *services.PostService
UserService *services.UserService
AdminPassword string
Instance string
Tag string
}