mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
fabb76754e
Also fix references from config.yml to configuration.yml
15 lines
365 B
Go
15 lines
365 B
Go
package handlers
|
|
|
|
import "github.com/authelia/authelia/internal/middlewares"
|
|
|
|
type ConfigurationBody struct {
|
|
GoogleAnalyticsTrackingID string `json:"ga_tracking_id,omitempty"`
|
|
}
|
|
|
|
func ConfigurationGet(ctx *middlewares.AutheliaCtx) {
|
|
body := ConfigurationBody{
|
|
GoogleAnalyticsTrackingID: ctx.Configuration.GoogleAnalyticsTrackingID,
|
|
}
|
|
ctx.SetJSONBody(body)
|
|
}
|