Implement user password checking

This commit is contained in:
Tom Wiesing 2022-11-25 15:06:01 +01:00
parent 8e2d2cce3e
commit 996ecb9f80
No known key found for this signature in database
25 changed files with 10762 additions and 224 deletions

View file

@ -36,7 +36,7 @@ type WissKI struct {
NoPrefixes bool // TODO: Move this into the database
Prefixes []string // list of prefixes
Pathbuilders map[string]string // all the pathbuilders
Users []string // all the known users
Users []User // all the known users
}
// Statistics holds statistics generated by the WissKI module
@ -70,9 +70,9 @@ type BundleStatistics struct {
Count int `json:"entities"`
LastEdit phpx.TimeInt `json:"lastEdit"`
LastEdit phpx.Timestamp `json:"lastEdit"`
MainBundle phpx.PHPBoolean `json:"mainBundle"`
MainBundle phpx.Boolean `json:"mainBundle"`
} `json:"bundleStatistics"`
TotalBundles int `json:"totalBundles"`
TotalMainBundles int `json:"totalMainBundles"`