See https://github.com/FriendsOfSymfony/FOSUserBundle/blob/master/Upgrade.md\#200-alpha3-to-200-alpha4
plain_password_label: '????'
email_label: 'Emailadresse'
# enabled_label: 'Enabled'
- # locked_label: 'Locked'
# last_login_label: 'Last login'
# twofactor_label: Two factor authentication
# save: Save
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
plain_password_label: '????'
email_label: 'Email'
enabled_label: 'Enabled'
- locked_label: 'Locked'
last_login_label: 'Last login'
twofactor_label: Two factor authentication
save: Save
plain_password_label: '????'
email_label: 'Email'
# enabled_label: 'Enabled'
- # locked_label: 'Locked'
# last_login_label: 'Last login'
# twofactor_label: Two factor authentication
# save: Save
plain_password_label: '????'
email_label: 'نشانی ایمیل'
# enabled_label: 'Enabled'
- # locked_label: 'Locked'
# last_login_label: 'Last login'
# twofactor_label: Two factor authentication
# save: Save
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"
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
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'
toggle_favorite: Oznacz wpis gwiazdką
toggle_archive: Oznacz wpis jako przeczytany
delete: Usuń wpis
- material_title: Skróty dostępne wyłącznie w motywie Material
+ material_title: Skróty dostępne wyłącznie w motywie Material
add_link: Dodaj nowy link
hide_form: Ukryj obecny formularz (wyszukiwania lub nowego linku)
arrows_navigation: Nawiguj pomiędzy artykułami
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
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'
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
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
'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',
</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">
<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>
<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>
'user[username]' => 'test_user',
'user[email]' => 'test@test.io',
'user[enabled]' => true,
- 'user[locked]' => false,
));
$client->submit($form);