1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2025-11-30 12:20:15 +01:00

Change to auth-(users|access), upgrade manually added users to provision users

This commit is contained in:
binwiederhier 2025-07-27 12:10:16 +02:00
parent f3c67f1d71
commit fe545423c5
5 changed files with 62 additions and 44 deletions

View file

@ -95,8 +95,8 @@ type Config struct {
AuthFile string
AuthStartupQueries string
AuthDefault user.Permission
AuthProvisionUsers []*user.User
AuthProvisionAccess map[string][]*user.Grant
AuthUsers []*user.User
AuthAccess map[string][]*user.Grant
AuthBcryptCost int
AuthStatsQueueWriterInterval time.Duration
AttachmentCacheDir string