KEYCLOAK-975 Client/app secret should be read-only, not disabled
This commit is contained in:
parent
c0a928e6d0
commit
40ec9da797
3 changed files with 10 additions and 5 deletions
|
@ -14,8 +14,7 @@
|
|||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label" for="secret">Secret</label>
|
||||
<div class="col-sm-4">
|
||||
<input ng-disabled="true" class="form-control" type="text" id="secret" name="secret" data-ng-model="secret" autofocus
|
||||
required>
|
||||
<input readonly kc-select-action="click" class="form-control" type="text" id="secret" name="secret" data-ng-model="secret">
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<label class="col-sm-2 control-label" for="publicKey">Public key</label>
|
||||
|
||||
<div class="col-sm-10">
|
||||
<textarea type="text" id="publicKey" name="publicKey" class="form-control" rows="5"
|
||||
<textarea type="text" id="publicKey" name="publicKey" class="form-control" rows="4"
|
||||
kc-select-action="click" readonly>{{realm.publicKey}}</textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -18,8 +18,7 @@
|
|||
<label class="col-sm-2 control-label" for="certificate">Certificate</label>
|
||||
|
||||
<div class="col-sm-10">
|
||||
<textarea type="text" id="certificate" name="certificate" class="form-control" rows="5"
|
||||
kc-select-action="click" readonly>{{realm.certificate}}</textarea>
|
||||
<textarea type="text" id="certificate" name="certificate" class="form-control" rows="8" kc-select-action="click" readonly>{{realm.certificate}}</textarea>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
|
|
@ -836,4 +836,11 @@ legend .kc-icon-collapse {
|
|||
|
||||
table table {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.form-control[readonly] {
|
||||
cursor: default;
|
||||
border: none;
|
||||
color: #333;
|
||||
background-color: #fff;
|
||||
}
|
Loading…
Reference in a new issue