Skip to content

Commit b9375e2

Browse files
authored
Bugfix: Hide client secret field using password input type (#129)
* Bugfix: Hide client secret field using password input type * Updated changelog
1 parent d40fcbf commit b9375e2

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8+
## [Unreleased]
9+
10+
### Fixed
11+
12+
- Hide the client secret field by rendering it as a password input
13+
814
## [1.5.0] - 2025-09-29
915

1016
## Fixed

inc/application.class.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ public function displaySpecificTypeField($ID, $field = [], array $options = [])
208208
echo Html::input(
209209
$field_name,
210210
[
211+
'type' => 'password',
211212
'autocomplete' => 'off',
212213
'value' => (new GLPIKey())->decrypt($field_value),
213214
],

0 commit comments

Comments
 (0)