scan-flow: geolocation scan, location-aware SMS throttle (log sender), finder contact, sms_enabled toggle, branding — 19/19 phase-2 scenarios pass
This commit is contained in:
13
frontend/internal/sms/smslog.go
Normal file
13
frontend/internal/sms/smslog.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package sms
|
||||
|
||||
import "log"
|
||||
|
||||
// LogSender writes messages to the log instead of sending.
|
||||
// Used automatically when no SMS credentials are configured.
|
||||
type LogSender struct{}
|
||||
|
||||
// Send logs the would-be SMS.
|
||||
func (LogSender) Send(to, body string) error {
|
||||
log.Printf("SMS to %s: %s", to, body)
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user