Fix reviews

Encrypt username too
Redirect to list after saving credentials
Fix typos

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2017-06-14 15:02:34 +02:00
committed by Jeremy Benoist
parent 906424c1b6
commit bead8b42da
11 changed files with 43 additions and 22 deletions

View File

@ -16,6 +16,7 @@
<tr>
<th>{{ 'site_credential.form.host_label'|trans }}</th>
<th>{{ 'site_credential.form.username_label'|trans }}</th>
<th>{{ 'site_credential.form.password_label'|trans }}</th>
<th>{{ 'site_credential.list.actions'|trans }}</th>
</tr>
</thead>
@ -23,7 +24,8 @@
{% for credential in credentials %}
<tr>
<td>{{ credential.host }}</td>
<td>{{ credential.username }}</td>
<td>*****</td>
<td>*****</td>
<td>
<a href="{{ path('site_credentials_edit', { 'id': credential.id }) }}">{{ 'site_credential.list.edit_action'|trans }}</a>
</td>