diff --git a/app/Views/partial/header.php b/app/Views/partial/header.php
index 013334475..294682e62 100644
--- a/app/Views/partial/header.php
+++ b/app/Views/partial/header.php
@@ -19,7 +19,7 @@ $request = Services::request();
- getGet('debug') == 'true') : ?>
+ getGet('debug') == 'true') : ?>
@@ -63,7 +63,7 @@ $request = Services::request();
= anchor(esc("home/change_password/$user_info->person_id", 'url'), esc("$user_info->first_name $user_info->last_name", 'attr'), ['class' => 'modal-dlg', 'data-btn-submit' => lang('Common.submit'), 'title' => lang('Employees.change_password')]) ?>
- = ' | ' . ($request->getGet('debug') == 'true' ? session('session_sha1') . ' | ' : '') ?>
+ = ' | ' . ((ENVIRONMENT == 'development' || $request->getGet('debugdebug') == 'true') ? session('session_sha1') . ' | ' : '') ?>
= anchor('home/logout', lang('Login.logout')) ?>