mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-11-30 04:10:01 +01:00
Redirect to login page if require-login is enabled
This commit is contained in:
parent
ec1f97b726
commit
3de04b27ab
8 changed files with 20 additions and 36 deletions
|
|
@ -449,13 +449,13 @@ type apiConfigResponse struct {
|
|||
BaseURL string `json:"base_url"`
|
||||
AppRoot string `json:"app_root"`
|
||||
EnableLogin bool `json:"enable_login"`
|
||||
RequireLogin bool `json:"require_login"`
|
||||
EnableSignup bool `json:"enable_signup"`
|
||||
EnablePayments bool `json:"enable_payments"`
|
||||
EnableCalls bool `json:"enable_calls"`
|
||||
EnableEmails bool `json:"enable_emails"`
|
||||
EnableReservations bool `json:"enable_reservations"`
|
||||
EnableWebPush bool `json:"enable_web_push"`
|
||||
RequireLogin bool `json:"require_login"`
|
||||
BillingContact string `json:"billing_contact"`
|
||||
WebPushPublicKey string `json:"web_push_public_key"`
|
||||
DisallowedTopics []string `json:"disallowed_topics"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue