Skip to content

Commit

Permalink
Merge #15872 - Fix #14149 - Improve expired session message
Browse files Browse the repository at this point in the history
Merge #15872
Fixes: #14149
Signed-off-by: William Desportes <williamdes@wdes.fr>
  • Loading branch information
williamdes committed May 2, 2020
2 parents b5f5166 + e521a20 commit 69cb73e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libraries/classes/Plugins/AuthenticationPlugin.php
Expand Up @@ -190,7 +190,8 @@ public function getErrorMessage($failure)
return __('Access denied!');
} elseif ($failure == 'no-activity') {
return sprintf(
__('No activity within %s seconds; please log in again.'),
__('You have been automatically logged out due to inactivity of %s seconds.'
. ' Once you log in again, you should be able to resume the work where you left off.'),
intval($GLOBALS['cfg']['LoginCookieValidity'])
);
}
Expand Down

0 comments on commit 69cb73e

Please sign in to comment.