Skip to content

Commit bd79482

Browse files
Minor fixes
1 parent 4606c6c commit bd79482

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

app/config/parameters.yml.dist

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ parameters:
1717

1818
# A secret key that's used to generate certain security-related tokens
1919
secret: ThisTokenIsNotSoSecretChangeIt
20-
oauth2_client_id: 1_2p4qziaf8lkwwswc4ook0o8ccwow0c4co848sogk8w4gg8c4kk
21-
oauth2_client_secret: 37wflagv6ickc4o448kg4ccosskok80kwoo4occ8wcsw8c884o
22-
oauth2_redirect_url: 'http://127.0.0.1:8000/authorize'
2320
oauth2_auth_endpoint: 'http://127.0.0.1:8000/oauth/v2/auth'
2421
oauth2_token_endpoint: 'http://127.0.0.1:8000/oauth/v2/token'
2522
frontend_theme: bootstrap
26-

src/ApiBundle/Resources/views/admin/client/index.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
</tr>
1717
<tr>
1818
<th scope="col">{{ 'label.client_name'|trans }}</th>
19-
<th scope="col">{{ 'label.client_randomid'|trans }}</th>
19+
<th scope="col">{{ 'label.client_id'|trans }}</th>
2020
<th scope="col">{{ 'label.client_secret'|trans }}</th>
2121
</tr>
2222
</thead>
2323
<tbody>
2424
{% for client in clients %}
2525
<tr>
2626
<td>{{ client.name }}</td>
27-
<td>{{ client.randomid }}</td>
27+
<td>{{ client.id }}_{{ client.randomid }}</td>
2828
<td>{{ client.secret }}</td>
2929
<td>
3030
<div class="item-actions">

src/ApiBundle/Resources/views/admin/client/show.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
<td>{{ client.redirecturis|join() }}</td>
1717
</tr>
1818
<tr>
19-
<th scope="row">{{ 'label.client_randomid'|trans }}</th>
20-
<td>{{ client.randomid }}</td>
19+
<th scope="row">{{ 'label.client_id'|trans }}</th>
20+
<td>{{ client.id }}_{{ client.randomid }}</td>
2121
</tr>
2222
<tr>
2323
<th scope="row">{{ 'label.client_secret'|trans }}</th>

0 commit comments

Comments
 (0)