We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f2a846 commit 196e2b4Copy full SHA for 196e2b4
pkg/config/auth.go
@@ -629,8 +629,8 @@ func (m *mfa) fromAuthConfig(remoteConfig v1API.AuthConfigResponse) {
629
}
630
631
func (s sessions) toAuthConfigBody(body *v1API.UpdateAuthConfigBody) {
632
- body.SessionsTimebox = nullable.NewNullableWithValue(int(s.Timebox.Hours()))
633
- body.SessionsInactivityTimeout = nullable.NewNullableWithValue(int(s.InactivityTimeout.Hours()))
+ body.SessionsTimebox = nullable.NewNullableWithValue(float32(s.Timebox.Hours()))
+ body.SessionsInactivityTimeout = nullable.NewNullableWithValue(float32(s.InactivityTimeout.Hours()))
634
635
636
func (s *sessions) fromAuthConfig(remoteConfig v1API.AuthConfigResponse) {
0 commit comments