diff options
Diffstat (limited to 'internal/handlers/handler_extended_configuration.go')
| -rw-r--r-- | internal/handlers/handler_extended_configuration.go | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/internal/handlers/handler_extended_configuration.go b/internal/handlers/handler_extended_configuration.go index 0ac352a70..052798670 100644 --- a/internal/handlers/handler_extended_configuration.go +++ b/internal/handlers/handler_extended_configuration.go @@ -7,13 +7,9 @@ import ( // ExtendedConfigurationBody the content returned by extended configuration endpoint type ExtendedConfigurationBody struct { - AvailableMethods MethodList `json:"available_methods"` - - // SecondFactorEnabled whether second factor is enabled - SecondFactorEnabled bool `json:"second_factor_enabled"` - - // TOTP Period - TOTPPeriod int `json:"totp_period"` + AvailableMethods MethodList `json:"available_methods"` + SecondFactorEnabled bool `json:"second_factor_enabled"` // whether second factor is enabled or not + TOTPPeriod int `json:"totp_period"` } // ExtendedConfigurationGet get the extended configuration accessible to authenticated users. |
