feat: Add optional web app flag which requires a login for every action

This commit is contained in:
Thea Tischbein
2025-05-05 11:13:07 +02:00
parent 630f2957de
commit 03aeb707f2
10 changed files with 39 additions and 13 deletions

View File

@@ -583,6 +583,7 @@ func (s *Server) handleWebConfig(w http.ResponseWriter, _ *http.Request, _ *visi
EnableCalls: s.config.TwilioAccount != "",
EnableEmails: s.config.SMTPSenderFrom != "",
EnableReservations: s.config.EnableReservations,
ReuqireLogin: s.config.RequireLogin,
EnableWebPush: s.config.WebPushPublicKey != "",
BillingContact: s.config.BillingContact,
WebPushPublicKey: s.config.WebPushPublicKey,