From 1921d0351ebd3ba9abead7a328bb2fc9a581d012 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Tue, 13 Jun 2017 16:27:05 +0300 Subject: [PATCH] Shorten logout message --- resources/lang/en/texts.php | 1 - resources/views/header.blade.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index 8de4ede49197..e1d54486256e 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -2096,7 +2096,6 @@ $LANG = array( 'view_statement' => 'View Statement', 'statement' => 'Statement', 'statement_date' => 'Statement Date', - 'inactivity_logout' => 'Due to inactivity, you have been automatically logged out.', 'mark_active' => 'Mark Active', 'send_automatically' => 'Send Automatically', 'initial_email' => 'Initial Email', diff --git a/resources/views/header.blade.php b/resources/views/header.blade.php index 6e4f5a2b24c6..4172ebd3141a 100644 --- a/resources/views/header.blade.php +++ b/resources/views/header.blade.php @@ -103,7 +103,7 @@ $(function() { // auto-logout after 8 hours window.setTimeout(function() { - window.location = '{{ URL::to('/logout?reason=inactivity') }}'; + window.location = '{{ URL::to('/logout?reason=inactive') }}'; }, {{ 1000 * env('AUTO_LOGOUT_SECONDS', (60 * 60 * 8)) }}); // auto-hide status alerts