mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-12-01 12:50:00 +01:00
Add "auth-tokens"
This commit is contained in:
parent
149c13e9d8
commit
23ec7702fc
10 changed files with 263 additions and 88 deletions
|
|
@ -97,6 +97,7 @@ type Config struct {
|
|||
AuthDefault user.Permission
|
||||
AuthUsers []*user.User
|
||||
AuthAccess map[string][]*user.Grant
|
||||
AuthTokens map[string][]*user.Token
|
||||
AuthBcryptCost int
|
||||
AuthStatsQueueWriterInterval time.Duration
|
||||
AttachmentCacheDir string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue