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:
@@ -10,7 +10,7 @@ import (
|
||||
type AppContext struct {
|
||||
Db *gorm.DB
|
||||
PostService *services.PostService
|
||||
UserService *services.UserService
|
||||
AdminPassword string
|
||||
Instance string
|
||||
Tag string
|
||||
}
|
Reference in New Issue
Block a user