mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
01b77384f9
Allow users to select and save the preferred duo device and method, depending on availability in the duo account. A default enrollment URL is provided and adjusted if returned by the duo API. This allows auto-enrollment if enabled by the administrator. Closes #594. Closes #1039.
26 lines
526 B
Go
26 lines
526 B
Go
package server
|
|
|
|
const (
|
|
embeddedAssets = "public_html/"
|
|
swaggerAssets = embeddedAssets + "api/"
|
|
apiFile = "openapi.yml"
|
|
indexFile = "index.html"
|
|
logoFile = "logo.png"
|
|
)
|
|
|
|
var rootFiles = []string{"favicon.ico", "manifest.json", "robots.txt"}
|
|
|
|
const (
|
|
dev = "dev"
|
|
f = "false"
|
|
t = "true"
|
|
)
|
|
|
|
const healthCheckEnv = `# Written by Authelia Process
|
|
X_AUTHELIA_HEALTHCHECK=1
|
|
X_AUTHELIA_HEALTHCHECK_SCHEME=%s
|
|
X_AUTHELIA_HEALTHCHECK_HOST=%s
|
|
X_AUTHELIA_HEALTHCHECK_PORT=%d
|
|
X_AUTHELIA_HEALTHCHECK_PATH=%s
|
|
`
|