1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2025-06-23 12:58:04 +02:00

"ntfy token" CLI

This commit is contained in:
binwiederhier 2023-01-29 21:42:40 -05:00
parent c12ecb9f21
commit d717bf39ac
4 changed files with 219 additions and 6 deletions

View file

@ -27,7 +27,7 @@ const (
userHardDeleteAfterDuration = 7 * 24 * time.Hour
tokenPrefix = "tk_"
tokenLength = 32
tokenMaxCount = 10 // Only keep this many tokens in the table per user
tokenMaxCount = 20 // Only keep this many tokens in the table per user
)
// Default constants that may be overridden by configs