Implement ban guarding. Some ip fixes
This commit is contained in:
@@ -34,3 +34,9 @@ type Admin struct {
|
||||
Username string
|
||||
Password string
|
||||
}
|
||||
|
||||
type Ban struct {
|
||||
IpHash string
|
||||
Reason string
|
||||
Expiration time.Time
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user