Improving default session timeout behavour. (#10453)
* Improving default session timeout behavour. * Changing mind to 180 days instead of 548 days
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
9abd4dd7dc
Коммит
5dae08761c
@@ -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 {
|
||||
|
||||
Ссылка в новой задаче
Block a user