{{define "body"}}

RSMon worker login

{{if .Error}}

{{.Error}}

{{end}}
{{if .BasicAuth}} {{end}}
{{if .BasicAuth}}

This worker is configured with HTTP basic auth (WORKER_LOGIN/WORKER_PASSWORD). Use the credentials from your environment. You can also pass them as Authorization: Basic on /web/api/* for scripted access.

{{else}}

On first start the worker printed a one-time password to its log. Read it via journalctl -u rsmon-worker or your container runtime.

{{end}}
{{end}}