From 906508ee3b806153146e732790d3a608492c7607 Mon Sep 17 00:00:00 2001 From: Doug Lauder Date: Tue, 19 May 2020 12:26:54 -0400 Subject: [PATCH] MM-25256 don't idle timeout expire session on mobile (#14583) --- app/session.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/session.go b/app/session.go index 878ca6c4d5..46dc19c43d 100644 --- a/app/session.go +++ b/app/session.go @@ -75,7 +75,7 @@ func (a *App) GetSession(token string) (*model.Session, *model.AppError) { } if *a.Config().ServiceSettings.SessionIdleTimeoutInMinutes > 0 && - !session.IsOAuth && + !session.IsOAuth && !session.IsMobileApp() && session.Props[model.SESSION_PROP_TYPE] != model.SESSION_TYPE_USER_ACCESS_TOKEN && !*a.Config().ServiceSettings.ExtendSessionLengthWithActivity {