Improving default session timeout behavour. (#10453)

* Improving default session timeout behavour.

* Changing mind to 180 days instead of 548 days
Этот коммит содержится в:
Christopher Speller
2019-03-15 10:44:27 -07:00
коммит произвёл GitHub
родитель 9abd4dd7dc
Коммит 5dae08761c
4 изменённых файлов: 10 добавлений и 40 удалений

Просмотреть файл

@@ -466,11 +466,11 @@ func (s *ServiceSettings) SetDefaults() {
}
if s.SessionLengthWebInDays == nil {
s.SessionLengthWebInDays = NewInt(30)
s.SessionLengthWebInDays = NewInt(180)
}
if s.SessionLengthMobileInDays == nil {
s.SessionLengthMobileInDays = NewInt(30)
s.SessionLengthMobileInDays = NewInt(180)
}
if s.SessionLengthSSOInDays == nil {
@@ -482,7 +482,7 @@ func (s *ServiceSettings) SetDefaults() {
}
if s.SessionIdleTimeoutInMinutes == nil {
s.SessionIdleTimeoutInMinutes = NewInt(0)
s.SessionIdleTimeoutInMinutes = NewInt(43200)
}
if s.EnableCommands == nil {