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:
parent
c12ecb9f21
commit
d717bf39ac
4 changed files with 219 additions and 6 deletions
user
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue