diff --git a/client_contact_details.php b/client_contact_details.php
index 973fba7a..17ad3dbf 100644
--- a/client_contact_details.php
+++ b/client_contact_details.php
@@ -303,7 +303,7 @@ if (isset($_GET['contact_id'])) {
} else {
$login_uri_display = "$login_uri";
}
- $login_username = htmlentities($row['login_username']);
+ $login_username = htmlentities(decryptLoginEntry($row['login_username']));
if (empty($login_username)) {
$login_username_display = "-";
} else {