Removed FOSUser attributes removed in alpha4

See https://github.com/FriendsOfSymfony/FOSUserBundle/blob/master/Upgrade.md\#200-alpha3-to-200-alpha4
This commit is contained in:
Nicolas Lœuillet 2016-11-28 12:44:17 +01:00
parent 5b644798a0
commit cda0662311
No known key found for this signature in database
GPG key ID: BDC1EFB5CA0145F2
16 changed files with 1 additions and 28 deletions

View file

@ -503,7 +503,6 @@ user:
plain_password_label: '????'
email_label: 'Emailadresse'
# enabled_label: 'Enabled'
# locked_label: 'Locked'
# last_login_label: 'Last login'
# twofactor_label: Two factor authentication
# save: Save

View file

@ -503,7 +503,6 @@ user:
plain_password_label: '????'
email_label: 'E-Mail-Adresse'
enabled_label: 'Aktiviert'
locked_label: 'Gesperrt'
last_login_label: 'Letzter Login'
twofactor_label: Zwei-Faktor-Authentifizierung
save: Speichern

View file

@ -503,7 +503,6 @@ user:
plain_password_label: '????'
email_label: 'Email'
enabled_label: 'Enabled'
locked_label: 'Locked'
last_login_label: 'Last login'
twofactor_label: Two factor authentication
save: Save

View file

@ -503,7 +503,6 @@ user:
plain_password_label: '????'
email_label: 'Email'
# enabled_label: 'Enabled'
# locked_label: 'Locked'
# last_login_label: 'Last login'
# twofactor_label: Two factor authentication
# save: Save

View file

@ -503,7 +503,6 @@ user:
plain_password_label: '????'
email_label: 'نشانی ایمیل'
# enabled_label: 'Enabled'
# locked_label: 'Locked'
# last_login_label: 'Last login'
# twofactor_label: Two factor authentication
# save: Save

View file

@ -503,7 +503,6 @@ user:
plain_password_label: "Mot de passe en clair"
email_label: "Adresse courriel"
enabled_label: "Activé"
locked_label: "Bloqué"
last_login_label: "Dernière connexion"
twofactor_label: "Double authentification"
save: "Sauvegarder"

View file

@ -503,7 +503,6 @@ user:
plain_password_label: '????'
email_label: 'E-mail'
# enabled_label: 'Enabled'
# locked_label: 'Locked'
# last_login_label: 'Last login'
# twofactor_label: Two factor authentication
# save: Save

View file

@ -503,7 +503,6 @@ user:
plain_password_label: 'Senhal en clar'
email_label: 'Adreça de corrièl'
enabled_label: 'Actiu'
locked_label: 'Varrolhat'
last_login_label: 'Darrièra connexion'
twofactor_label: 'Autentificacion doble-factor'
save: 'Enregistrar'

View file

@ -503,7 +503,6 @@ user:
plain_password_label: 'Jawne hasło'
email_label: 'Adres email'
enabled_label: 'Włączony'
locked_label: 'Zablokowany'
last_login_label: 'Ostatnie logowanie'
twofactor_label: Autoryzacja dwuetapowa
save: Zapisz

View file

@ -503,7 +503,6 @@ user:
plain_password_label: '????'
email_label: 'E-mail'
enabled_label: 'Habilitado'
locked_label: 'Travado'
last_login_label: 'Último login'
twofactor_label: 'Autenticação de dois passos'
save: 'Salvar'

View file

@ -503,7 +503,6 @@ user:
plain_password_label: '????'
email_label: 'E-mail'
# enabled_label: 'Enabled'
# locked_label: 'Locked'
# last_login_label: 'Last login'
# twofactor_label: Two factor authentication
# save: Save

View file

@ -503,7 +503,6 @@ user:
plain_password_label: '????'
email_label: 'E-posta'
# enabled_label: 'Enabled'
# locked_label: 'Locked'
# last_login_label: 'Last login'
# twofactor_label: Two factor authentication
# save: Save

View file

@ -35,10 +35,6 @@ class UserType extends AbstractType
'required' => false,
'label' => 'user.form.enabled_label',
])
->add('locked', CheckboxType::class, [
'required' => false,
'label' => 'user.form.locked_label',
])
->add('twoFactorAuthentication', CheckboxType::class, [
'required' => false,
'label' => 'user.form.twofactor_label',

View file

@ -47,14 +47,6 @@
</div>
</div>
<div class="row">
<div class="input-field col s12">
{{ form_widget(edit_form.locked) }}
{{ form_label(edit_form.locked) }}
{{ form_errors(edit_form.locked) }}
</div>
</div>
{% if twofactor_auth %}
<div class="row">
<div class="input-field col s12">

View file

@ -17,7 +17,6 @@
<th>{{ 'user.form.username_label'|trans }}</th>
<th>{{ 'user.form.email_label'|trans }}</th>
<th>{{ 'user.form.last_login_label'|trans }}</th>
<th>{{ 'user.form.locked_label'|trans }}</th>
<th>{{ 'user.list.actions'|trans }}</th>
</tr>
</thead>
@ -27,7 +26,6 @@
<td>{{ user.username }}</td>
<td>{{ user.email }}</td>
<td>{% if user.lastLogin %}{{ user.lastLogin|date('Y-m-d H:i:s') }}{% endif %}</td>
<td>{% if user.locked %}{{ 'user.list.yes'|trans }}{% else %}{{ 'user.list.no'|trans }}{% endif %}</td>
<td>
<a href="{{ path('user_edit', { 'id': user.id }) }}">{{ 'user.list.edit_action'|trans }}</a>
</td>

View file

@ -49,7 +49,6 @@ class ManageControllerTest extends WallabagCoreTestCase
'user[username]' => 'test_user',
'user[email]' => 'test@test.io',
'user[enabled]' => true,
'user[locked]' => false,
));
$client->submit($form);