mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
15 lines
367 B
Go
15 lines
367 B
Go
|
package handlers
|
||
|
|
||
|
import "github.com/clems4ever/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)
|
||
|
}
|