add "disabled" to client-id, client-secret

This commit is contained in:
Son NK 2019-07-23 19:33:27 +02:00 committed by Son NK
parent fc73267b53
commit 5244678a16

View File

@ -42,7 +42,7 @@
<label class="form-label">OAuth2 Client ID</label> <label class="form-label">OAuth2 Client ID</label>
<div class="input-group mt-2"> <div class="input-group mt-2">
<input type="text" value="{{ client.oauth_client_id }}" class="form-control"> <input disabled type="text" value="{{ client.oauth_client_id }}" class="form-control">
<span class="input-group-append"> <span class="input-group-append">
<button <button
data-clipboard-text="{{ client.oauth_client_id }}" data-clipboard-text="{{ client.oauth_client_id }}"
@ -57,7 +57,7 @@
<label class="form-label">OAuth2 Client Secret</label> <label class="form-label">OAuth2 Client Secret</label>
<div class="input-group mt-2"> <div class="input-group mt-2">
<input type="password" value="{{ client.oauth_client_secret }}" class="form-control"> <input disabled type="password" value="{{ client.oauth_client_secret }}" class="form-control">
<span class="input-group-append"> <span class="input-group-append">
<button <button
data-clipboard-text="{{ client.oauth_client_secret }}" data-clipboard-text="{{ client.oauth_client_secret }}"